alla flaggor
buster  ] [  bullseye  ] [  sid  ]
[ Källkod: golang-gopkg-go-playground-validator.v8  ]

Paket: golang-gopkg-go-playground-validator.v8-dev (8.18.2-1)

Länkar för golang-gopkg-go-playground-validator.v8-dev

Screenshot

Debianresurser:

Hämta källkodspaketet golang-gopkg-go-playground-validator.v8:

Ansvariga:

Externa resurser:

Liknande paket:

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 see 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

Hämta golang-gopkg-go-playground-validator.v8-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 34,7 kbyte281,0 kbyte [filförteckning]