MCPcopy Index your code
hub / github.com/github/copilot-sdk / toGoSchemaTypeName

Function toGoSchemaTypeName

scripts/codegen/go.ts:107–109  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

105}
106
107function toGoSchemaTypeName(s: string): string {
108 return toPascalCase(splitGoIdentifierWords(s).join("_"));
109}
110
111function toGoFieldName(jsonName: string): string {
112 // Handle camelCase field names like "modelId" -> "ModelID"

Callers 1

goDefinitionNameFunction · 0.85

Calls 3

splitGoIdentifierWordsFunction · 0.85
joinMethod · 0.80
toPascalCaseFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…