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

Function goJSONTag

scripts/codegen/go.ts:394–396  ·  view source on GitHub ↗
(jsonName: string, required: boolean, goType: string)

Source from the content-addressed store, hash-verified

392}
393
394function goJSONTag(jsonName: string, required: boolean, goType: string): string {
395 return `json:"${jsonName}${goJSONOmitSuffix(required, goType)}"`;
396}
397
398async function formatGoFile(filePath: string): Promise<void> {
399 try {

Calls 1

goJSONOmitSuffixFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…