type A interface { Foo | Bar | Baz }
Can't use this anywhere but in generic type signatures though :(
[0] https://github.com/golang/go/issues/57644
type A interface { Foo | Bar | Baz }
Can't use this anywhere but in generic type signatures though :(