assets-in-binary

command
v0.0.0-...-99a85c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2019 License: MIT Imports: 7 Imported by: 0

README

Building a single binary containing templates

This is a complete example to create a single binary with the gin-gonic/gin Web Server with HTML templates.

How to use

Prepare Packages
go get github.com/xiuno/gin
go get github.com/jessevdk/go-assets-builder
Generate assets.go
go-assets-builder html -o assets.go
Build the server
go build -o assets-in-binary
Run
./assets-in-binary

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL