avro
avro copied to clipboard
go2avro: possibility to specify the namespace?
Hi @rogpeppe ,
I'm using go2avro but I'm unable to specify a namespace automatically.
Since the program is for 1 type at a time, would be interesting to allow specifying the generated Avro namespace.
Thank you,
Yes, that's a reasonable idea. Feel free to submit a PR :)
As a workaround, it should be easy to add the namespace after running go2avro by editing the generated schema.
Yeah that's what I did, patching the JSON after generation :)