CrabScout. The best software around.
Search

Go Playground Validator

Check fields of Go structs using validation tags.

go-playground · Web and apps

GitHub projectOpen source Open on GitHub

How to try it

In a new Go module, add github.com/go-playground/validator/v10 at v10.30.6. Require a fictional inventory number to be positive and try both cases.

What we tested

v10.30.6. Require a fictional inventory number to be positive and try both cases. Accepted an inventory count of seven and rejected zero.

Reviews

Rate this repo

More to explore

  • cattrsConvert Python records to and from simple dictionary data.GitHub projectOpen source
  • h2 for PythonBuild and parse HTTP/2 messages from Python.GitHub projectOpen source
  • Go QuerystringBuild URL query parameters from fields of a Go structure.GitHub projectOpen source

Share

What the labels mean

Save to your library