Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert ¶
func Convert(goIdentifier string, format IdentFormat) string
Convert will take a given identifier and convert it to the specified format.
Types ¶
type IdentFormat ¶
type IdentFormat int
const ( CamelCase IdentFormat = iota // camelCase PascalCase // PascalCase SnakeCase // snake_case ScreamingSnakeCase // SCREAMING_SNAKE_CASE KebabCase // kebab-case )
Click to show internal directories.
Click to hide internal directories.