Validate Go Datastructures Based on How Similar They Look
APACHE-2.0 License
Bot releases are visible (Hide)
The 1.0 release had overly restrictive go version reqs
Published by andrewvc about 1 year ago
This switches from the unmaintained spew to maintained utter library which fixes a bug where failing tests would sometimes segfault.
Published by andrewvc about 5 years ago
In this release we're using reflection much more extensively to traverse stuff. This means that we can now test aliased types more thoroughly. This means that if you have a custom type like type MapStr map[string]interface{}
we can traverse it just as we would an actual map[string]interface{}
. This applies to slice types as well. This is really important for uses of Strict()
, where before this release they wouldn't work on those types.
We do have to use reflection more extensively, so there's potentially a perf impact here, but it's still pretty snappy.
Published by andrewvc over 5 years ago
The initial release had an unconventional nesting of code. This makes things more normal.
Published by andrewvc over 5 years ago
We've finally made our initial release of go-lookslike!