go-lookslike

Validate Go Datastructures Based on How Similar They Look

APACHE-2.0 License

Stars
27
Committers
5

Bot releases are visible (Hide)

go-lookslike - Only require go 1.18 Latest Release

Published by andrewvc about 1 year ago

The 1.0 release had overly restrictive go version reqs

go-lookslike - Move from spew to utter

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.

go-lookslike - The release where almost every type is now supported

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.

go-lookslike - Hoist package to root

Published by andrewvc over 5 years ago

The initial release had an unconventional nesting of code. This makes things more normal.

go-lookslike - Initial Release!

Published by andrewvc over 5 years ago

We've finally made our initial release of go-lookslike!