2 ms·
Other things: reflect.StructOf is broken if you use embedded fields
by thefounder 7y ago
Other things:
reflect.StructOf is broken if you use embedded fields
- ainar-g 7y agoCan't find that in the Bugs section of the documentation of package reflect[1]. Is there a GitHub issue? [1] https://golang.org/pkg/reflect/#pkg-note-BUG https://golang.org/pkg/reflect/#pkg-note-BUG
- thefounder 7y agoThere are various issues/comments(i.e [1] ) but in practice you find out about them when your program crashes. https://github.com/golang/go/issues/15924#issuecomment-455575431 https://github.com/golang/go/issues/15924#issuecomment-45557...