|
|
пре 7 година | |
|---|---|---|
| .. | ||
| html | пре 7 година | |
| README.md | пре 7 година | |
| assets.go | пре 7 година | |
| main.go | пре 7 година | |
This is a complete example to create a single binary with the gin-gonic/gin Web Server with HTML templates.
go get github.com/gin-gonic/gin
go get github.com/jessevdk/go-assets-builder
go-assets-builder html -o assets.go
go build -o assets-in-binary
./assets-in-binary