(typeName: string, schema: JSONSchema7, ctx: GoCodegenCtx)
| 2830 | } |
| 2831 | |
| 2832 | function emitGoUnionStruct(typeName: string, schema: JSONSchema7, ctx: GoCodegenCtx): void { |
| 2833 | if (ctx.generatedNames.has(typeName)) return; |
| 2834 | const plan = planGoUnion(typeName, schema, ctx, true); |
| 2835 | if (plan) emitGoUnionPlan(plan, ctx); |
| 2836 | } |
| 2837 | |
| 2838 | function emitGoUnionWrapperStruct(typeName: string, schema: JSONSchema7, ctx: GoCodegenCtx): void { |
| 2839 | if (ctx.generatedNames.has(typeName)) return; |
nothing calls this directly
no test coverage detected
searching dependent graphs…