(blockLines: string[], ctx: GoCodegenCtx)
| 1059 | } |
| 1060 | |
| 1061 | function pushGoEncodingBlock(blockLines: string[], ctx: GoCodegenCtx): void { |
| 1062 | if (blockLines.length === 0) return; |
| 1063 | const block = blockLines.join("\n"); |
| 1064 | ctx.encodingBlocks ??= new Set<string>(); |
| 1065 | if (ctx.encodingBlocks.has(block)) return; |
| 1066 | ctx.encodingBlocks.add(block); |
| 1067 | ctx.encoding.push(block); |
| 1068 | } |
| 1069 | |
| 1070 | function registerGoExternalUnionUnmarshalers( |
| 1071 | schema: JSONSchema7, |
no test coverage detected
searching dependent graphs…