Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTypeValid ¶
Types ¶
type Config ¶
type Config struct {
IntV map[string]int
FloatV map[string]float64
BoolV map[string]bool
StringV map[string]string
NullV map[string]string
IntArrV map[string][]int
FloatArrV map[string][]float64
BoolArrV map[string][]bool
StringArrV map[string][]string
InnerV map[string]*Config
InnerArrV map[string][]*Config
Name string
}
func NewNilConfig ¶
func NewNilConfig() *Config
type Contract ¶
type Contract struct {
Type ContractType
BoolV []string
IntV []string
FloatV []string
StringV []string
BoolArrV []string
IntArrV []string
FloatArrV []string
StringArrV []string
InnerArrV map[string]*Contract
Inner map[string]*Contract
}
func NewNillContract ¶
func NewNillContract() *Contract
type ContractType ¶
type ContractType int
const ( ContractDynamic ContractType = iota ContractFlexible ContractStrict )
func (ContractType) String ¶ added in v1.1.0
func (c ContractType) String() string
Click to show internal directories.
Click to hide internal directories.