Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-29 | Use static assets for HTML templates | Jan Dittberner | |
- implement custom http.Filesystem boardvoting.AssetFS - replace "footer" and "header" with "footer.html" and "header.html" - change renderTemplate to use Assets - use boardvoting.GetAssetFS() with http.Fileserver | |||
2018-03-29 | Embed database migrations | Jan Dittberner | |
- switch from goose to github.com/rubenv/sql-migrate - move assets (static, templates, migrations) to boardvoting package - add generated boardvoting/assets.go - remove unused static files from static directory - add package db with db migration configuration |