Skip to content

make keyed union types easier to marshal

Nick Rosbrook xen-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2golang/xenlight: export keyed union interface typestools/golang/xenlight/gengotypes.py tools/golang/xenlight/types.gen.go+32 -320 replies
2/2golang/xenlight: use struct pointers in keyed union fieldstools/golang/xenlight/gengotypes.py tools/golang/xenlight/helpers.gen.go+24 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.17.1