Release v3.1.0
Implement Marshal for structs, with support for comments in structs:
type foo struct {
a A `comment:"First comment"`
b B `comment:"Second comment"`
}
Additional minor bug fixes.
- Fix panic when passing nil to Unmarshal
- Bug fix for marshal of unsigned types
- Bug fix for README add closing block for code section
- Use custom Marshaler if type implements Marshal interface
- Add unit tests for Marshal. encode.go coverage at 94.9%