Go to file
bestplay d8275f2535
Update snake.go
Consider userID to user_id
2018-04-27 15:32:37 +08:00
.travis.yml Simpler travis.yml 2015-10-16 15:33:57 +11:00
camel_test.go Apply gofmt to all code 2017-11-29 12:02:53 +11:00
camel.go Apply gofmt to all code 2017-11-29 12:02:53 +11:00
LICENSE Make repository public 2015-10-09 20:13:05 +11:00
numbers.go Treat numbers as word boundaries 2017-11-29 11:52:26 +11:00
README.md Coverage badge 2015-10-16 15:34:13 +11:00
snake_test.go Treat acronyms as whole words 2018-03-11 18:56:25 +11:00
snake.go Update snake.go 2018-04-27 15:32:37 +08:00

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