On Wed, Sep 27, 2023 at 01:25:37PM +0200, Victor Toso wrote: > This patch handles QAPI alternate types and generates data structures > in Go that handles it.
This file (and most others) needs some imports added. I found the following to be required in order to actually compile this: alternates.go:import ( alternates.go- "encoding/json" alternates.go- "errors" alternates.go- "fmt" alternates.go-) commands.go:import ( commands.go- "encoding/json" commands.go- "errors" commands.go- "fmt" commands.go-) events.go:import ( events.go- "encoding/json" events.go- "errors" events.go- "fmt" events.go-) helpers.go:import ( helpers.go- "encoding/json" helpers.go- "fmt" helpers.go- "strings" helpers.go-) structs.go:import ( structs.go- "encoding/json" structs.go-) unions.go:import ( unions.go- "encoding/json" unions.go- "errors" unions.go- "fmt" unions.go-) With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|