Documentation ¶
Index ¶
Constants ¶
View Source
const ( CamelCase = "camelCase" KebabCase = "kebab-case" PascalCase = "PascalCase" SnakeCase = "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 IsKebabCase ¶ added in v0.0.25
func IsPascalCase ¶
IsPascalCase returns if a string is PascalCase or not.
func IsSnakeCase ¶ added in v0.0.25
Types ¶
type CaseValidator ¶
type CaseValidator struct{}
Click to show internal directories.
Click to hide internal directories.