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.
proxy.golang.org
v1.0.8
over 4 years ago
9
10
9
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 |