tinylib / msgp

A Go code generator for MessagePack / msgpack.org[Go]
MIT License
1.77k stars 189 forks source link

Add example for marshaling array of structs into documentation #315

Open yusufozturk opened 1 year ago

yusufozturk commented 1 year ago

Documentation is not clear about how to marshall an array of structs. All examples are about single object marshaling.

There are many questions about this in the issues. None of them have helpful answers.