Releases: Kangaroux/go-map-schema
Releases · Kangaroux/go-map-schema
v0.6.1
07 Jun 02:25
Compare
Sorry, something went wrong.
No results found
Fixed CompareResults.Errors() not reporting nested type errors correctly
v0.6.0
06 Jun 21:28
Compare
Sorry, something went wrong.
No results found
Added support for nested structs (#4 , thank you @Quanare )
v0.5.0
25 May 23:18
Compare
Sorry, something went wrong.
No results found
Replaced AsMap() with Errors() which now returns an error type, and also returns nil if there are no errors
Updated documentation and added examples
v0.4.0
21 May 15:26
Compare
Sorry, something went wrong.
No results found
Renamed TypeNameDetailed and TypeNameSimple to DetailedTypeName and SimpleTypeName.
Fixed a potential panic error
Added some lang tests
v0.3.0
21 May 14:56
Compare
Sorry, something went wrong.
No results found
Added CompareResults.AsMap() method, which returns a map of field names to mismatch errors.
Updated FieldMismatch.String() to correctly say things like "is an int" or "is null" instead of "is a int" and "is a null".
v0.2.0
20 May 18:13
Compare
Sorry, something went wrong.
No results found
Added a type mismatch when converting from a float -> int if the float is not a whole number.
Added a CompareOpts type. This can be used to control how type names are reported for mismatches, as well as determining if two types are convertible.
Added a TypeNameSimple func, which returns type names without the bit size (for int, uint, and float types). This is used with CompareOpts.
v0.1.0 Initial Release
20 May 14:05
Compare
Sorry, something went wrong.
No results found