Skip to content

Releases: O-X-L/go-validator

v1.0.0

04 Jan 18:09

Choose a tag to compare

Features

  • How we can validate:

    • Custom validation-functions
    • Pre-defined regex
    • Tag-specific regex
    • Require a value to be set
    • Conditionally require a value to be set (only very simple conditions for now)
  • What we can validate:

    • Single values
    • Every entry inside an array/slice
    • Nested structs
    • Arrays/slices of structs