Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Caser ¶ added in v0.11.0
type Caser struct {
// contains filtered or unexported fields
}
func (*Caser) ToCamel ¶ added in v0.11.0
ToCamel returns a string converted from snake case to camel case
func (*Caser) ToPascal ¶ added in v0.11.0
ToPascal returns a string converted from snake case to pascal case
type Option ¶ added in v0.11.0
type Option func(*Caser)
func WithCustomExceptions ¶ added in v0.11.0
WithCustomExceptions allows to specify custom exceptions for caser. The parameter is a map of snake:camel values like map[string]string{"oauth":"OAuth"}
func WithCustomInitialisms ¶ added in v0.11.0
WithCustomInitialisms allows specifying custom initialisms for caser.
Click to show internal directories.
Click to hide internal directories.