You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
231 B
12 lines
231 B
package v1
|
|
|
|
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"`
|
|
}
|