Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPackage ¶
Types ¶
type CountValues ¶
type CountValues int
const ( UndefinedValue CountValues = iota ZeroValue OneValue ManyValues )
type FieldType ¶
type FieldType struct {
ComposedType string // array ([N]), map (map) or slice ([])
BaseType string // base type (e.g. string, int, etc.)
Size string // for arrays
}
func (FieldType) NormalizeBaseType ¶
func (ft FieldType) NormalizeBaseType() NormalizedBaseType
func (FieldType) ToGenericType ¶
func (FieldType) ToNormalizedString ¶
func (FieldType) ToStringName ¶
type NormalizedBaseType ¶
type NormalizedBaseType int
const ( InvalidType NormalizedBaseType = iota StringType BoolType IntType FloatType )
func (NormalizedBaseType) String ¶
func (n NormalizedBaseType) String() string
Click to show internal directories.
Click to hide internal directories.