go1.16 and embed

This commit is contained in:
ston1th 2021-02-18 22:36:16 +01:00
commit 82fd34b288
42 changed files with 95 additions and 1236 deletions

View file

@ -10,24 +10,6 @@ type route struct {
Methods []string
}
var static = []route{
{
core.Favicon,
staticHandler,
[]string{"GET"},
},
{
core.BootstrapCSS,
staticHandler,
[]string{"GET"},
},
{
core.CustomCSS,
staticHandler,
[]string{"GET"},
},
}
var routes = []route{
{
core.RootURI,