Ma_124 b39e75bb17 | 5 年之前 | |
---|---|---|
.travis.yml | 8 年之前 | |
LICENSE | 5 年之前 | |
README.md | 5 年之前 | |
camel.go | 5 年之前 | |
camel_test.go | 5 年之前 | |
numbers.go | 5 年之前 | |
others.go | 5 年之前 | |
snake.go | 5 年之前 | |
snake_test.go | 5 年之前 |
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