package request import ( "github.com/gogf/gf/v2/frame/g" ) type HelloReq struct { g.Meta `path:"/hello" tags:"Hello" method:"get" summary:"You first hello api"` } type HelloRes struct { g.Meta `mime:"text/html" example:"string"` }