An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/icza/mighty

Package mighty is a lightweight extension to Go's testing package. With this utility, you can make your Go test files super clean but still intuitive. This package doesn't want to hide complex things from you, but wants to eliminate repetitive, long code from your tests. You could create a value of mighty.Myt and use its methods like m.Eq(), m.Neq(), ... etc. as seen below: But the recommended, more intuitive and more compact way is to acquire and use method values returned by functions of mighty: Without mighty it could look like this: Using mighty: Without mighty it could look like this: Using mighty: For more usage examples, check out the following packages which use mighty extensively in their testing code: - https://github.com/icza/bitio - https://github.com/icza/session - https://github.com/icza/kvcache
2 versions
Latest release: about 2 years ago
30 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/icza/mighty

Dependent Repos 1

tchapgouv/matrix-media-repo Fork of t2bot/matrix-media-repo
Matrix media repository with multi-domain in mind.

Size: 6.2 MB - Last synced: 7 days ago - Pushed: almost 2 years ago