Package Usage: go: github.com/jgroeneveld/schema
Package schema makes it easier to check if map/array structures match a certain schema. Great for testing JSON API's.
Example:
JSON Input
err.Error() Output
See https://github.com/jgroeneveld/schema for more examples.
Also see https://github.com/jgroeneveld/trial for lightweight assertions.
1 version
Latest release: almost 6 years ago
51 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/jgroeneveld/schema