func/templates
Luke K 4918cc7eef
feat: cli usability enhancements and API simplification
2020-08-29 01:54:13 +09:00
..
go feat: cli usability enhancements and API simplification 2020-08-29 01:54:13 +09:00
node src(templates/node): update Node.js templates (#68) 2020-08-13 17:05:25 -04:00
quarkus feat: http template for Quarkus stack 2020-07-27 16:03:55 +02:00
README.md feat: cli usability enhancements and API simplification 2020-08-29 01:54:13 +09:00

README.md

Templates

Updating

When any templates are modified, ../pkged.go should be regenerated.

go get github.com/markbates/pkger/cmd/pkger
pkger

Generates a pkged.go containing serialized versions of the contents of the templates directory, made accessible at runtime.

Until such time as embedding static assets in binaries is included in the base go build funcitonality (see https://github.com/golang/go/issues/35950) a third-party tool is required and pkger provides an API largely compatible with the os package.