hotgo/server/resource/template/generate/default/curd/router.go.template

16 lines
491 B
Go

// Package genrouter
// @Link https://github.com/bufanyun/hotgo
// @Copyright Copyright (c) @{NowYear} HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version @{.hgVersion}
// @AutoGenerate Date @{.nowTime}
//
package genrouter
import "hotgo/internal/controller/backend/@{.templateGroup}"
func init() {
LoginRequiredRouter = append(LoginRequiredRouter, @{.templateGroup}.@{.varName}) // @{.tableComment}
}