Re: [RFC PATCH v2 3/8] qapi: golang: Generate qapi's struct types in Go

2022-06-17 Thread Victor Toso
Hi, On Fri, Jun 17, 2022 at 03:41:10PM +0100, Daniel P. Berrangé wrote: > On Fri, Jun 17, 2022 at 02:19:27PM +0200, Victor Toso wrote: > > This patch handles QAPI struct types and generates the equivalent > > types in Go. > > > > At the time of this writing, it generates 388 structures. > > > >

Re: [RFC PATCH v2 3/8] qapi: golang: Generate qapi's struct types in Go

2022-06-17 Thread Daniel P . Berrangé
On Fri, Jun 17, 2022 at 02:19:27PM +0200, Victor Toso wrote: > This patch handles QAPI struct types and generates the equivalent > types in Go. > > At the time of this writing, it generates 388 structures. > > The highlights of this implementation are: > > 1. Generating an Go struct that require

[RFC PATCH v2 3/8] qapi: golang: Generate qapi's struct types in Go

2022-06-17 Thread Victor Toso
This patch handles QAPI struct types and generates the equivalent types in Go. At the time of this writing, it generates 388 structures. The highlights of this implementation are: 1. Generating an Go struct that requires a @base type, the @base type fields are copied over to the Go struct. Th