322 B
322 B
strcase
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