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

Function extParseOapiCodegenOnlyHonourGoName

pkg/codegen/extension.go:122–128  ·  view source on GitHub ↗
(extPropValue any)

Source from the content-addressed store, hash-verified

120}
121
122func extParseOapiCodegenOnlyHonourGoName(extPropValue any) (bool, error) {
123 onlyHonourGoName, ok := extPropValue.(bool)
124 if !ok {
125 return false, fmt.Errorf("failed to convert type: %T", extPropValue)
126 }
127 return onlyHonourGoName, nil
128}

Callers 1

GoFieldNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected