Documentation ¶
Index ¶
Constants ¶
View Source
const ( CaseCamel = "camelCase" CaseKebab = "kebab-case" CasePascal = "PascalCase" CaseSnake = "snake_case" )
Variables ¶
This section is empty.
Functions ¶
func IsCamelCase ¶
IsCamelCase returns if a string is camelCase or not.
func IsFirstAlphaUpper ¶
IsFirstAlphaUpper returns if the first character is a capital [A-Z] character.
func IsPascalCase ¶
IsPascalCase returns if a string is PascalCase or not.
Types ¶
type CaseValidator ¶
type CaseValidator struct{}
Click to show internal directories.
Click to hide internal directories.