gitea_hat/routers/init.go

13 lines
229 B
Go

package routers
import (
"code.gitea.io/gitea/modules/web"
api_hat "code.gitlink.org.cn/Gitlink/gitea_hat.git/routers/hat"
)
func InitHatRouters(e *web.Route) *web.Route {
e.Mount("/api/hat", api_hat.Routers())
return e
}