Ignore - Go SDK

Ignore type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Supported Types

ProviderName

1ignore := components.CreateIgnoreProviderName(components.ProviderName{/* values here */})

1ignore := components.CreateIgnoreStr(string{/* values here */})

Union Discrimination

Use the Type field to determine which variant is active, then access the corresponding field:

1switch ignore.Type {
2 case components.IgnoreTypeProviderName:
3 // ignore.ProviderName is populated
4 case components.IgnoreTypeStr:
5 // ignore.Str is populated
6}