path: root/boardvoting
AgeCommit message (Collapse)Author
2018-03-29Use static assets for HTML templatesJan 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-29Embed database migrationsJan Dittberner
- switch from goose to - 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