mirror of https://github.com/go-sonic/sonic.git
14 lines
307 B
Go
14 lines
307 B
Go
package param
|
|
|
|
import "github.com/go-sonic/sonic/consts"
|
|
|
|
type Option struct {
|
|
Key string `json:"key" form:"key"`
|
|
Value string `json:"value" form:"value"`
|
|
}
|
|
type OptionQuery struct {
|
|
Page
|
|
Keyword string `json:"keyword" form:"keyword"`
|
|
Type consts.OptionType `json:"type" form:"type"`
|
|
}
|