Skip to content

v0.3.3

Choose a tag to compare

@aide-cloud aide-cloud released this 24 Sep 14:03
· 13 commits to main since this release

feat: 增加新特性

  1. 当定义的模块没有被初始化时候, 不予注册进路由
func TestGenRoute(t *testing.T) {
	r := gin.Default()
	var p *Student
	// p = &Student{}
	pr := New(r).GenRoute(r.Group("/api"), p)
	NewCtrlC(pr)
}