Documentation ¶
Overview ¶
Package server 服务注入
Package server 业务
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( New, )
ProviderSet is server providers.
Functions ¶
This section is empty.
Types ¶
type GetExampleReq ¶
type GetExampleReq struct { // Id Id int64 `form:"id" binding:"required,gte=1"` // 名称 Name string `form:"name" binding:"required" label:"名称"` }
GetExampleReq Example请求
type GetExampleResp ¶
GetExampleResp Example返回值
type PostExampleReq ¶
type PostExampleReq struct { // Id Id int64 `json:"id" binding:"required,gte=1"` // 名称 Name string `json:"name" binding:"omitempty,gte=2"` }
PostExampleReq Example请求
type PostExampleResp ¶
PostExampleResp Example返回值
Click to show internal directories.
Click to hide internal directories.