Documentation
¶
Index ¶
- func CamelToSnake(s string) string
- func CamelToSnakeLow(s string) string
- func NormalizeName(name string) string
- func NormalizeNameAndUpper(name string) string
- func NormalizeUpperValue(v string) string
- func NormalizeValue(v string) string
- func ReadWords(p []byte) (words []string)
- func SnakeToCamel(s string) string
- func SnakeToCamelLower(s string) string
- func SplitFullName(fullName string) (name1 string, name2 string)
- func WordsContainsAll(words []string, sub ...string) (has bool)
- func WordsContainsOne(words []string, sub ...string) (has bool)
- func WordsIndex(words []string, word string) (idx int)
- func WordsToLine(words []string) (line string)
- type Lines
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelToSnake ¶
CamelToSnake converts a given string to snake case
func CamelToSnakeLow ¶
CamelToSnake converts a given string to snake case
func NormalizeName ¶
func NormalizeNameAndUpper ¶
func NormalizeUpperValue ¶
func NormalizeValue ¶
func SnakeToCamel ¶
SnakeToCamel returns a string converted from snake case to uppercase
func SnakeToCamelLower ¶
SnakeToCamelLower returns a string converted from snake case to lowercase
func SplitFullName ¶
func WordsContainsAll ¶
func WordsContainsOne ¶
func WordsIndex ¶
func WordsToLine ¶
Types ¶
type Lines ¶
type Lines struct {
// contains filtered or unexported fields
}
func (*Lines) CurrentLineWords ¶
Click to show internal directories.
Click to hide internal directories.