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.

13 lines
722 B

  1. // Package strcase converts strings to various cases. See the conversion table below:
  2. // | Function | Result |
  3. // |---------------------------------|--------------------|
  4. // | ToSnake(s) | any_kind_of_string |
  5. // | ToScreamingSnake(s) | ANY_KIND_OF_STRING |
  6. // | ToKebab(s) | any-kind-of-string |
  7. // | ToScreamingKebab(s) | ANY-KIND-OF-STRING |
  8. // | ToDelimited(s, '.') | any.kind.of.string |
  9. // | ToScreamingDelimited(s, '.') | ANY.KIND.OF.STRING |
  10. // | ToCamel(s) | AnyKindOfString |
  11. // | ToLowerCamel(s) | anyKindOfString |
  12. package strcase