go-paste/src/routes/public.go

12 lines
350 B
Go
Raw Normal View History

2018-03-14 07:18:19 -06:00
package routes
import "sour.is/x/toolbox/httpsrv"
func init() {
httpsrv.AssetRegister("paste", httpsrv.AssetRoutes{
2018-06-26 10:51:21 -06:00
{Name: "Assets", Path: "/", HandlerFunc: httpsrv.FsHtml5(assetFS())},
2018-03-14 07:18:19 -06:00
})
}
//go:generate go-bindata-assetfs -pkg routes -prefix ../../ ../../public/ ../../public/static/css/ ../../public/static/js/ ../../public/static/media/