Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Ian Coleman 13740a6cff Tidy up snake.go vor 4 Jahren
.travis.yml Simpler travis.yml vor 8 Jahren
LICENSE Added license notices of Ian Coleman to each file vor 6 Jahren
README.md Added GoReportCard Badge and reworded the README slightly vor 5 Jahren
acronyms.go Fix acronyms for camel case vor 4 Jahren
camel.go Fix acronyms for camel case vor 4 Jahren
camel_test.go Fix acronyms for camel case vor 4 Jahren
doc.go refactored doc to please golint vor 5 Jahren
numbers.go Added license notices of Ian Coleman to each file vor 6 Jahren
snake.go Tidy up snake.go vor 4 Jahren
snake_test.go Tidy up snake.go vor 4 Jahren

README.md

strcase

Godoc Reference Build Status Coverage Go Report Card

strcase is a go package for converting string case to various cases (e.g. snake case or camel case) to see the full conversion table below.

Example

s := "AnyKind of_string"
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