Results 111 comments of Beoran

Especially for modeling JSON data a value discriminated union would be extremely useful as well. So i like that this proposal covers both cases.

@ianlancetaylor After ten years of experience with Go, it seems to me the decision made then to not include unions into Go because of interfaces was wrong. While it is...

As others here have explained, this proposal would cause a lot of problems for CI/CD, for package management, for conditionally using newer features in older codebases with conditional compilation, ......

Actually in the proxy we am writing, we download the repository using the VCS, not using go get or go download. So, I don't know whether the repository is a...

The reason I tried this out is for #48499, wherr the OP directly wants to get fields or pointers to fields from a set of similar structs. In that use...

Many interesting ideas here. But, if the use case of my original examples could work somehow, I don't mind the implementation details.

At work I have some complex data that consist of similar union types stored in the same database table, which have many common fields. For those, this feature would certainly...

Personally I am more in favor of this issue than #51259, because this does not introduce any new syntax, but only allows semantics that are currently not allowed. This issue...

Interesting idea. Sorry to bike shed, but perhaps the reusing the `default` keyword would be more readable? `Foo(default)` `myvar = default`