2019-12-16 11:51:42 +00:00
|
|
|
package koushinbase
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.sr.ht/~emersion/koushin"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
p := koushin.GoPlugin{Name: "base"}
|
|
|
|
|
2019-12-17 10:28:47 +00:00
|
|
|
p.TemplateFuncs(templateFuncs)
|
2019-12-17 10:36:08 +00:00
|
|
|
registerRoutes(&p)
|
2019-12-16 16:45:20 +00:00
|
|
|
|
2020-01-20 20:37:28 +00:00
|
|
|
koushin.RegisterPluginLoader(p.Loader())
|
2019-12-16 11:51:42 +00:00
|
|
|
}
|