Re: [RFC PATCH v1 4/8] qapi: golang: Generate qapi's union types in Go

2022-05-10 Thread Daniel P . Berrangé
On Tue, May 10, 2022 at 01:32:08PM +0200, Victor Toso wrote: > Hi, > > On Tue, May 10, 2022 at 11:26:56AM +0100, Daniel P. Berrangé wrote: > > On Sat, Apr 02, 2022 at 12:41:00AM +0200, Victor Toso wrote: > > > This patch handles QAPI union types and generates the equivalent data > > > structures a

Re: [RFC PATCH v1 4/8] qapi: golang: Generate qapi's union types in Go

2022-05-10 Thread Victor Toso
Hi, On Tue, May 10, 2022 at 11:26:56AM +0100, Daniel P. Berrangé wrote: > On Sat, Apr 02, 2022 at 12:41:00AM +0200, Victor Toso wrote: > > This patch handles QAPI union types and generates the equivalent data > > structures and methods in Go to handle it. > > > > At the moment of this writing, it

Re: [RFC PATCH v1 4/8] qapi: golang: Generate qapi's union types in Go

2022-05-10 Thread Daniel P . Berrangé
On Sat, Apr 02, 2022 at 12:41:00AM +0200, Victor Toso wrote: > This patch handles QAPI union types and generates the equivalent data > structures and methods in Go to handle it. > > At the moment of this writing, it generates 67 structures. > > The QAPI union type can be summarized by its common