mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
add golangci feature to guarantee codes quality (#2229)
This commit is contained in:
@ -12,6 +12,7 @@ type HelloReq struct {
|
||||
g.Meta `path:"/hello" method:"get" sort:"1"`
|
||||
Name string `v:"required" dc:"Your name"`
|
||||
}
|
||||
|
||||
type HelloRes struct {
|
||||
Reply string `dc:"Reply content"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user