Versions in this module Expand all Collapse all v1 v1.6.1 Feb 26, 2021 Changes in this version + var IdentPattern = regexp.MustCompile("[^a-zA-Z0-9_]+") + func EnumReplace(value string) string + func EnumValueName(value string) string + func Generate(r *compiler.Result, settings config.CombinedSettings) (map[string]string, error) + func StructName(name string, settings config.CombinedSettings) string + type Constant struct + Name string + Type string + Value string + type Enum struct + Comment string + Constants []Constant + Name string + type Field struct + Comment string + Name string + Tags map[string]string + Type string + func (gf Field) Tag() string + type Generateable interface + Enums func(settings config.CombinedSettings) []Enum + GoQueries func(settings config.CombinedSettings) []Query + Structs func(settings config.CombinedSettings) []Struct + type ImportSpec struct + ID string + Path string + func (s ImportSpec) String() string + type Query struct + Arg QueryValue + Cmd string + Comments []string + ConstantName string + FieldName string + MethodName string + Ret QueryValue + SQL string + SourceName string + type QueryValue struct + Emit bool + Name string + Struct *Struct + Typ string + func (v QueryValue) EmitStruct() bool + func (v QueryValue) IsStruct() bool + func (v QueryValue) Pair() string + func (v QueryValue) Params() string + func (v QueryValue) Scan() string + func (v QueryValue) Type() string + type Struct struct + Comment string + Fields []Field + Name string + Table core.FQN