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

github.com/devnw/validator

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.

Ecosystem
proxy.golang.org
Latest Release
v1.0.8
over 4 years ago
Versions
9
Dependent Packages
10
Dependent Repos
9
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.

Filter
Filter by Kind
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/devnw/validator
spec
License MIT
Namespace github.com/devnw
First Release over 6 years ago
Last Synced 16 days ago
Repository
Stars 2 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Overall Top 9.7%
Dependent packages Top 1.7%
Dependent repos Top 1.7%