Web lists-archives.com

Bug#869369: ITP: golang-gopkg-go-playground-validator.v8 -- Go Struct and Field validation (version 8.x)




Package: wnpp
Severity: wishlist
Owner: Shengjing Zhu <i@xxxxxxx>
Control: block 865134 by -1
X-Debbugs-CC: pkg-go-maintainers@xxxxxxxxxxxxxxxxxxxxxxx

* Package name    : golang-gopkg-go-playground-validator.v8
  Version         : 8.18.1-1
  Upstream Author : Dean Karn
* URL             : https://github.com/go-playground/validator
* License         : Expat
  Programming Lang: Go
  Description     : 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

Please also include as much relevant information as possible.
For example, consider answering the following questions:
 - why is this package useful/relevant? is it a dependency for
   another package? do you use it? if there are other packages
   providing similar functionality, how does it compare?

   This a dependency of golang-github-gin-gonic-gin #865134

 - how do you plan to maintain it? inside a packaging team
   (check list at https://wiki.debian.org/Teams)? are you
   looking for co-maintainers? do you need a sponsor?

   I will package this inside pkg-go team and I need sponsor to upload.

Attachment: signature.asc
Description: PGP signature