mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2024-12-22 00:36:41 +02:00
13 lines
722 B
Go
13 lines
722 B
Go
// Package strcase converts strings to various cases. See the conversion table below:
|
|
// | Function | Result |
|
|
// |---------------------------------|--------------------|
|
|
// | ToSnake(s) | any_kind_of_string |
|
|
// | ToScreamingSnake(s) | ANY_KIND_OF_STRING |
|
|
// | ToKebab(s) | any-kind-of-string |
|
|
// | ToScreamingKebab(s) | ANY-KIND-OF-STRING |
|
|
// | ToDelimited(s, '.') | any.kind.of.string |
|
|
// | ToScreamingDelimited(s, '.') | ANY.KIND.OF.STRING |
|
|
// | ToCamel(s) | AnyKindOfString |
|
|
// | ToLowerCamel(s) | anyKindOfString |
|
|
package strcase
|