Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct {
Config util.ValueMap `json:"config,omitzero"`
ConfigFile jsontext.Value `json:"-"`
Enums enum.Enums `json:"enums,omitempty"`
EnumFiles map[string]jsontext.Value `json:"-"`
Events model.Events `json:"events,omitempty"`
EventFiles map[string]jsontext.Value `json:"-"`
Models model.Models `json:"models,omitempty"`
ModelFiles map[string]jsontext.Value `json:"-"`
Groups model.Groups `json:"groups,omitempty"`
GroupsFile jsontext.Value `json:"-"`
Acronyms []string `json:"acronyms,omitempty"`
ExtraTypes model.Models `json:"extraTypes,omitempty"`
ExtraTypesFile jsontext.Value `json:"-"`
Modules []string `json:"-"`
Database string `json:"-"`
}
func (*Args) ApplyAcronyms ¶
func (*Args) DatabaseNow ¶
type StringProvider ¶ added in v1.8.2
type StringProvider interface {
PackageName() string
Camel() string
CamelLower() string
CamelPlural() string
Proper() string
ProperPlural() string
Kebab() string
FirstLetter() string
PackageWithGroup(prefix string) string
RelativePath(rGroup []string, extra ...string) string
GroupLen() int
GroupAndPackage() []string
ConfigMap() util.ValueMap
}
Click to show internal directories.
Click to hide internal directories.