(jsonName: string)
| 109 | } |
| 110 | |
| 111 | function toGoFieldName(jsonName: string): string { |
| 112 | // Handle camelCase field names like "modelId" -> "ModelID" |
| 113 | return splitGoIdentifierWords(jsonName) |
| 114 | .map((w) => goIdentifierWord(w, true)) |
| 115 | .join(""); |
| 116 | } |
| 117 | |
| 118 | function toGoUnexportedIdentifier(name: string): string { |
| 119 | const leadingSpecialCases = [ |
no test coverage detected
searching dependent graphs…