Registry / utility / takuoki-gocase

takuoki-gocase

JSON →
library1.2.0gogounverified

Package gocase converts between normal CamelCase and Go's CamelCase, respecting Go common initialisms.

go get github.com/takuoki/gocase
INSTALL
IMPORT
SIG · TAKUOKI-GOCASE
T
takuoki-gocase
utilitygov1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gocase
github.com/takuoki/gocase

Convert a CamelCase string to Go's CamelCase with initialism awareness.

package main import ( "fmt" "github.com/takuoki/gocase" ) func main() { result := gocase.ToGo("HTTPServer") fmt.Println(result) // Output: HTTPServer (preserves initialism) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
takuoki-gocase — go get takuoki-gocase · libregistry