Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Caser ¶
type Caser struct {
// contains filtered or unexported fields
}
Caser converts strings from camel_case to UpperCamelCase.
func (Caser) AddAcronym ¶
AddAcronym adds an acronym that's specially handled in conversion routines.
func (Caser) AddAcronyms ¶
AddAcronyms adds each acronym that's specially handled in conversion routines.
func (Caser) ToLowerGoIdent ¶
ToLowerGoIdent converts a string into a legal, uncapitalized Go identifier, respecting registered acronyms. Returns the empty string if no conversion is possible.
func (Caser) ToUpperGoIdent ¶
ToUpperGoIdent converts a string into a legal, capitalized Go identifier, respecting registered acronyms. Returns the empty string if no conversion is possible.
Click to show internal directories.
Click to hide internal directories.