13 lines
236 B
Go
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"`
|
|
}
|