name

package
v0.0.0-...-d7af1e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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 FromCamel

func FromCamel(field *structmap.FieldPart) error

FromCamel transforms field name in camelCase format

func FromKebab

func FromKebab(field *structmap.FieldPart) error

FromKebab transforms field name in kebab-case format

func FromPascal

func FromPascal(field *structmap.FieldPart) error

FromPascal transforms field name in PascalCase format

func FromSnake

func FromSnake(field *structmap.FieldPart) error

FromSnake transforms field name in snake_case format

func FromTag

func FromTag(tagName string) structmap.BehaviorFunc

FromTag get field name from tagName, if has a name

func Noop

func Noop(field *structmap.FieldPart) error

Noop do not change field name

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL