proxy.golang.org : github.com/DionTech/requestvalidation : v0.1.2
This package is a wrapper for the github.com/go-playground/validator package. You can validate a request (by struct) and get a status ("success" or "error") and when error, a map[string][]string of errors as a response. This might be useful for a json-formatted api response.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/%21dion%21tech/[email protected]
Published:
Indexed:
Loading...
Readme
Loading...
Dependencies
- github.com/go-playground/locales v0.14.0
- github.com/go-playground/universal-translator v0.18.0
- github.com/go-playground/validator/v10 v10.10.0
- github.com/leodido/go-urn v1.2.1
- golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97
- golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069
- golang.org/x/text v0.3.6