Documentation ¶
Index ¶
- func Discovery(discoveries ...structmap.BehaviorFunc) structmap.BehaviorFunc
- func FromCamel(field *structmap.FieldPart) error
- func FromKebab(field *structmap.FieldPart) error
- func FromPascal(field *structmap.FieldPart) error
- func FromSnake(field *structmap.FieldPart) error
- func FromTag(tagName string) structmap.BehaviorFunc
- func Noop(field *structmap.FieldPart) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Discovery ¶
func Discovery(discoveries ...structmap.BehaviorFunc) structmap.BehaviorFunc
Discovery stop on first discover function, that's change field name
func FromPascal ¶
FromPascal transforms field name in PascalCase format
func FromTag ¶
func FromTag(tagName string) structmap.BehaviorFunc
FromTag get field name from tagName, if has a name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.