alla flaggor
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: golang-github-go-playground-validator-v10  ]

Paket: golang-github-go-playground-validator-v10-dev (10.4.1-4)

Länkar för golang-github-go-playground-validator-v10-dev

Screenshot

Debianresurser:

Hämta källkodspaketet golang-github-go-playground-validator-v10:

Ansvariga:

Externa resurser:

Liknande paket:

Go library for struct and field validation

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

It has the following unique features:

 - Cross Field and Cross Struct validation 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.
 - Ability to dive into both map keys and values for validation.
 - Handles type interface by determining its underlying type prior
   to validation.
 - Handles custom field types such as the SQL driver's Valuer.
 - Alias validation tags, which allows for mapping of several
   validations to a single tag for easier definition of validations
   on structs.
 - Extraction of custom defined Field Name, allowing to specify
   extracting the JSON name while validating and making it available
   in the resulting FieldError.
 - Customizable i18n-aware error messages.

Andra paket besläktade med golang-github-go-playground-validator-v10-dev

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta golang-github-go-playground-validator-v10-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 92,1 kbyte1.179,0 kbyte [filförteckning]