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.
iancoleman 90d371a664
Merge pull request #9 from takuoki/master
6 jaren geleden
.travis.yml Simpler travis.yml 8 jaren geleden
LICENSE Make repository public 8 jaren geleden
README.md Coverage badge 8 jaren geleden
camel.go improve first upper case for ToLowerCamel 6 jaren geleden
camel_test.go improve first upper case for ToLowerCamel 6 jaren geleden
numbers.go Treat numbers as word boundaries 6 jaren geleden
snake.go Support from lowercase to continuous uppercase 6 jaren geleden
snake_test.go Support from lowercase to continuous uppercase 6 jaren geleden

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