迁移 Flutter 端与训练脚本,模型/训练产物移出 git(遵循纯代码约定)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package common
|
||||
|
||||
import "github.com/gogf/gf/v2/net/ghttp"
|
||||
|
||||
// BindController 反射注册一组 controller 到路由组:接口 path/method 唯一来源为 dto 内嵌的
|
||||
// g.Meta(携带 path/method/summary),禁止在 main.go 手动逐条注册。
|
||||
func BindController(group *ghttp.RouterGroup, controllers ...interface{}) {
|
||||
group.Bind(controllers...)
|
||||
}
|
||||
Reference in New Issue
Block a user