Ignore - Go SDK
The Go SDK and docs are currently in beta. Report issues on GitHub.
1ignore := components.CreateIgnoreProviderName(components.ProviderName{/* values here */})
1ignore := components.CreateIgnoreStr(string{/* values here */})
Use the Type field to determine which variant is active, then access the corresponding field:
Type
1switch ignore.Type {2 case components.IgnoreTypeProviderName:3 // ignore.ProviderName is populated4 case components.IgnoreTypeStr:5 // ignore.Str is populated6}