Golang avro use of structs results in unordered output

Hello, I am using Confluent go client & can produce/consume messages perfectly.

The problem is with using structs for avro messages, I am getting unordered output of fields. How can I order the data?

{"version":1,"event":"update","bill":true,"id":1,"name":"GoClient"}
{"name":"GoClient","version":1,"event":"update","bill":true,"id":1}
{"event":"update","bill":true,"id":1,"name":"GoClient","version":1}
{"name":"GoClient","version":1,"event":"update","bill":true,"id":1}