MCPcopy Index your code
hub / github.com/oapi-codegen/oapi-codegen / ToCamelCaseWithInitialism

Function ToCamelCaseWithInitialism

pkg/codegen/utils.go:320–322  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

318}
319
320func ToCamelCaseWithInitialism(str string) string {
321 return replaceInitialism(ToCamelCase(str))
322}
323
324func replaceInitialism(s string) string {
325 // These strings do not apply CamelCase

Callers 1

mediaTypeToCamelCaseFunction · 0.85

Calls 2

replaceInitialismFunction · 0.85
ToCamelCaseFunction · 0.85

Tested by

no test coverage detected