You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ian Coleman 30c986a8fa Treat numbers as word boundaries 6 vuotta sitten
.travis.yml Simpler travis.yml 8 vuotta sitten
LICENSE Make repository public 8 vuotta sitten
README.md Coverage badge 8 vuotta sitten
camel.go Treat numbers as word boundaries 6 vuotta sitten
camel_test.go Treat numbers as word boundaries 6 vuotta sitten
numbers.go Treat numbers as word boundaries 6 vuotta sitten
snake.go Treat numbers as word boundaries 6 vuotta sitten
snake_test.go Treat numbers as word boundaries 6 vuotta sitten

README.md

strcase Build Status Coverage

strcase is a go package for converting string case to snake case or camel case.

Example

x := "AnyKind of_string"
xSnake := strcase.ToSnake(x) // any_kind_of_string
xCamel := strcase.ToCamel(x) // AnyKindOfString