Go configuration
Configure the Go SDK in the generation block of its target in sdk-config.yml:
sdk-config.yml
The target’s generation block also accepts the shared generation options, such as naming, wireTests, and customCode. Shared options set in the top-level generation block apply to every target, and a target’s generation block overrides them. For generators.yml options, see the Legacy Go configuration.
Go options
legacyComplexModels
Whether complex models use the legacy Go representation.
smartCasing
Whether generated Go names capitalize common initialisms.
clientConstructorName
The generated root-client constructor name.
<ParamField path=“unionVersion” type=""v0” | “v1"" required= toc=> The representation used for generated Go unions. </ParamField>
includeLegacyClientOptions
Whether the client retains legacy constructor option helpers.