These patches make changes to the generated "keyed union" types that allow marshaling and unmarshaling easier, specifically when using the encoding/json package from the Go standard library.
Nick Rosbrook (2): golang/xenlight: export keyed union interface types golang/xenlight: use struct pointers in keyed union fields tools/golang/xenlight/gengotypes.py | 10 ++--- tools/golang/xenlight/helpers.gen.go | 44 ++++++++++----------- tools/golang/xenlight/types.gen.go | 58 ++++++++++++++-------------- 3 files changed, 56 insertions(+), 56 deletions(-) -- 2.17.1