Ma_124 24e04f3d6a | 5 lat temu | |
---|---|---|
.travis.yml | 8 lat temu | |
LICENSE | 5 lat temu | |
README.md | 5 lat temu | |
camel.go | 5 lat temu | |
camel_test.go | 5 lat temu | |
numbers.go | 5 lat temu | |
others.go | 5 lat temu | |
snake.go | 5 lat temu | |
snake_test.go | 5 lat temu |
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