Skip to content
Sections
>> Trisquel >> Pakketten >> nabia >> devel >> golang-gopkg-go-playground-validator.v8-dev
etiona  ] [  nabia  ] [  aramo  ]

Pakket: golang-gopkg-go-playground-validator.v8-dev (8.18.1-1)

Go Struct and Field validation (version 8.x)

Package validator implements value validations for structs and individual fields based on tags.

It has the following unique features:

  * Cross Field and Cross Struct validations by using validation tags or
    custom validators.
  * Slice, Array and Map diving, which allows any or all levels of a
    multidimensional field to be validated.
  * Handles type interface by determining it's underlying type prior to
    validation.
  * Handles custom field types such as sql driver Valuer
  * Alias validation tags, which allows for mapping of several validations
    to a single tag for easier defining of validations on structs
  * Extraction of custom defined Field Name e.g. can specify to extract the
    JSON name while validating and have it available in the resulting
    FieldError

Andere aan golang-gopkg-go-playground-validator.v8-dev gerelateerde pakketten

  • depends
  • recommends
  • suggests

golang-gopkg-go-playground-validator.v8-dev downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 36,2 kB297 kB [overzicht]