package
1.10.0
Repository: https://github.com/uber/prototool.git
Documentation: pkg.go.dev

# Functions

Intersection return the intersection between one and two, sorted and dropping empty strings.
IsCamelCase returns false if s is empty or contains any character that is not between 'A' and 'Z', 'a' and 'z', '0' and '9', or in extraRunes.
IsCapitalized returns true if is not empty and the first letter is an uppercase character.
IsLowercase returns true if s is not empty and is all lowercase.
IsLowerSnakeCase returns true if s only contains lowercase letters, digits, and/or underscores.
IsUppercase returns true if s is not empty and is all uppercase.
IsUpperSnakeCase returns true if s only contains uppercase letters, digits, and/or underscores.
MapToSortedSlice returns the sorted keys of m.
SortUniq returns the unique sorted non-empty values of s.
SortUniqModify returns the unique sorted non-empty values of s.
SplitCamelCaseWord splits a CamelCase word into its parts.
SplitSnakeCaseWord splits a snake_case word into its parts.
ToLowerSnakeCase converts s to lower_snake_case.
ToUpperCamelCase converts s to UpperCamelCase.
ToUpperSnakeCase converts s to UPPER_SNAKE_CASE.