Documentation
¶
Index ¶
Constants ¶
View Source
const ( EchoQuery = "query" EchoParam = "param" EchoHeader = "header" EchoForm = "form" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Echo ¶
type Echo struct {
EchoOptions
}
type EchoOptions ¶
type Generable ¶
func NewEcho ¶
func NewEcho(opts EchoOptions) Generable
func NewGormPK ¶
func NewGormPK(opts GormPKOptions) Generable
func NewJson ¶
func NewJson(options JsonOptions) Generable
func NewMapstructure ¶
func NewMapstructure(options MapstructureOptions) Generable
func NewValidate ¶
func NewValidate(validations ...ValidateGenerable) Generable
type GormPK ¶
type GormPK struct {
GormPKOptions
}
type GormPKOptions ¶
type GormPKOptions struct {
IsUuid bool
}
type Json ¶
type Json struct {
JsonOptions
}
type JsonOptions ¶
type Mapstructure ¶
type Mapstructure struct {
MapstructureOptions
}
func (Mapstructure) Generate ¶
func (c Mapstructure) Generate() (string, string)
type MapstructureOptions ¶
type ValidateGenerable ¶
type ValidateGenerable interface {
Generate() string
}
func NewValidateRequired ¶
func NewValidateRequired() ValidateGenerable
func NewValidateRequiredUuid ¶
func NewValidateRequiredUuid() ValidateGenerable
type ValidateRequired ¶
type ValidateRequired struct{}
func (ValidateRequired) Generate ¶
func (v ValidateRequired) Generate() string
type ValidateRequiredUuid ¶
type ValidateRequiredUuid struct{}
func (ValidateRequiredUuid) Generate ¶
func (v ValidateRequiredUuid) Generate() string
Click to show internal directories.
Click to hide internal directories.