Documentation ¶
Index ¶
- type DTOField
- func (d *DTOField) ConvertDowntypeName(typeNameMap map[string]string) string
- func (d *DTOField) ConvertUptypeName(typeNameMap map[string]string) string
- func (d *DTOField) IsNumberDowntype() bool
- func (d *DTOField) IsNumberUptype() bool
- func (d *DTOField) NameToKebabCase() string
- func (d *DTOField) NameToLowerCamelCase() string
- func (d *DTOField) NameToSnakeCase() string
- type DTOFieldSlice
- type DTOSetup
- type OutputFilePath
- type PluginName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DTOField ¶
func (*DTOField) ConvertDowntypeName ¶
func (*DTOField) ConvertUptypeName ¶
func (*DTOField) IsNumberDowntype ¶
func (*DTOField) IsNumberUptype ¶
func (*DTOField) NameToKebabCase ¶
func (*DTOField) NameToLowerCamelCase ¶
func (*DTOField) NameToSnakeCase ¶
type DTOFieldSlice ¶
type DTOFieldSlice []*DTOField
func (DTOFieldSlice) ContainsFieldByName ¶
func (d DTOFieldSlice) ContainsFieldByName(name string) bool
type DTOSetup ¶
type DTOSetup struct { UrlWithStartingSlash string IsInsertMethodEnabled bool IsPatchMethodEnabled bool IsListMethodEnabled bool IsCountMethodEnabled bool IsGetMethodEnabled bool IsDeleteMethodEnabled bool IsGetORListORCountMethodEnabled bool IdField *DTOField InsertableFields []*DTOField ListableFieldGroups [][]*DTOField GetableFieldGroups [][]*DTOField PatchableFieldGroups [][]*DTOField AllUniquePatchableFields []*DTOField // contains filtered or unexported fields }
func MustParseYAML ¶
func MustParseYAMLFile ¶
func NewDTOSetupFromYAML ¶
func NewDTOSetupFromYAML(setup *dtoSetupYAML) *DTOSetup
type OutputFilePath ¶
type OutputFilePath string
func (OutputFilePath) String ¶
func (o OutputFilePath) String() string
type PluginName ¶
type PluginName string
func (PluginName) String ¶
func (p PluginName) String() string
Click to show internal directories.
Click to hide internal directories.