[PATCH 0/2] make keyed union types easier to marshal

Nick Rosbrook posted 2 patches 3 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/cover.1598918801.git.rosbrookn@ainfosec.com
Maintainers: George Dunlap <george.dunlap@citrix.com>, Nick Rosbrook <rosbrookn@ainfosec.com>, Ian Jackson <ian.jackson@eu.citrix.com>, Wei Liu <wl@xen.org>
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(-)
[PATCH 0/2] make keyed union types easier to marshal
Posted by Nick Rosbrook 3 years, 7 months ago
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