[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.