File: doc.go

package info (click to toggle)
golang-github-iancoleman-strcase 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 96 kB
  • sloc: makefile: 3
file content (12 lines) | stat: -rw-r--r-- 722 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
// 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