An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

proxy.golang.org : github.com/devnw/validator : v1.0.8

Package validator sets up several methods for simple validation as well as setting up an interface which when implemented allows for custom validation logic by the implementor. `Valid()` returns a boolean indicating if the value(s) passed into it are valid based on the different types. `Assert()` returns an error indicating `nil` if the values are valid. Otherwise `Assert()` returns an error indicating the index of the value(s) passed into it as to which was determined to be invalid.

Registry - Documentation - Download - JSON - codemeta.json
purl: pkg:golang/github.com/devnw/validator@v1.0.8
Published:
Indexed:

    Loading...
    Readme
    Loading...