richard 7c09721c5b | 6 年前 | |
---|---|---|
.travis.yml | 8 年前 | |
LICENSE | 8 年前 | |
README.md | 8 年前 | |
camel.go | 6 年前 | |
camel_test.go | 6 年前 | |
numbers.go | 6 年前 | |
snake.go | 6 年前 | |
snake_test.go | 6 年前 |
strcase is a go package for converting string case to snake case or camel case.
x := "AnyKind of_string"
xSnake := strcase.ToSnake(x) // any_kind_of_string
xCamel := strcase.ToCamel(x) // AnyKindOfString