hello.go 263 B

12345678910111213
  1. package system
  2. import (
  3. "github.com/gogf/gf/v2/frame/g"
  4. )
  5. type HelloReq struct {
  6. g.Meta `path:"/hello" tags:"Hello" method:"get" summary:"You first hello api"`
  7. }
  8. type HelloRes struct {
  9. g.Meta `mime:"text/html" example:"string"`
  10. Data g.Map `json:"data"`
  11. }