PersonalMain-Golang/api/request/hello.go
2023-12-24 15:17:21 +08:00

13 lines
236 B
Go

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"`
}