Skip to content

Releases: newodahs/struct2map

v1.1.2

27 Jun 21:14
c135862
Compare
Choose a tag to compare

What's Changed

  • Fixed bug with certain types of map keys and updated ConvertAnyToString internal function by @newodahs in #4

  • Made last ditch effort for ConvertAnyToString a bit more sane.

Full Changelog: v1.1.1...v1.1.2

v1.1.1 Release

15 May 05:02
ed829e2
Compare
Choose a tag to compare

What's Changed

  • Small update to float-to-string conversion case for map-keys by @newodahs in #3

Full Changelog: v1.1.0...v1.1.1

v1.1.0 Release

14 May 04:44
29b786f
Compare
Choose a tag to compare

That was fast...

Minor-ish functionality update to add StructConvertOpts and supporting options for formatting the Structure Tag -> MapKey in a specific way, primarily useful for when you cannot easily decorate the structure you want to pass in with the struct2map tags.

v1.0.1 Release

10 May 21:56
230fc3b
Compare
Choose a tag to compare

Major change is renaming the primary function from StructToMap to ConvertStruct

Minor refactor or IsValid handling and updated docs.

v1.0.0 Release

09 May 22:41
2682ce8
Compare
Choose a tag to compare

Initial Release

Includes:

  • Support for most golang basic types in conversion of the structure and its fields to a map of values
  • Intial testing coverage for regular cases (no corner-cases or overly complex cases yet in test)