Single binary build

Use go rice for embedding the static files and templates to the binary file
This commit is contained in:
Khanh Ngo 2020-05-21 11:43:03 +07:00
parent c56f042217
commit af16649b3f
No known key found for this signature in database
GPG key ID: D5FAA6A16150E49E
7 changed files with 115 additions and 12 deletions

5
.gitignore vendored
View file

@ -12,10 +12,11 @@ wireguard-ui
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
# Dependency directories and files (remove the comment below to include it)
vendor/
assets/
node_modules
node_modules/
rice-box.go
# IDEs
.vscode