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
v1.0.8
Published: over 4 years ago
Registry - Documentation - Download
v1.0.7
Published: over 4 years ago
Registry - Documentation - Download
v1.0.6
Published: over 4 years ago
Registry - Documentation - Download
v1.0.5
Published: over 4 years ago
Registry - Documentation - Download
v1.0.4
Published: about 5 years ago
Registry - Documentation - Download
v1.0.3
Published: about 5 years ago
Registry - Documentation - Download
v1.0.2
Published: almost 6 years ago
Registry - Documentation - Download
v1.0.1
Published: about 6 years ago
Registry - Documentation - Download
v1.0.0
Published: over 6 years ago
Registry - Documentation - Download
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 17 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%