Skip to content

Release v3.1.0

Compare
Choose a tag to compare
@trobro trobro released this 17 Sep 07:43
· 24 commits to master since this release
9aabfb5

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%