You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sonic/model/param/option.go

14 lines
307 B
Go

2 years ago
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"`
}