How to Install and Uninstall golang-gopkg-go-playground-validator.v8-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 25,2024

1. Install "golang-gopkg-go-playground-validator.v8-dev" package

Please follow the guidance below to install golang-gopkg-go-playground-validator.v8-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install golang-gopkg-go-playground-validator.v8-dev

2. Uninstall "golang-gopkg-go-playground-validator.v8-dev" package

This is a short guide on how to uninstall golang-gopkg-go-playground-validator.v8-dev on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove golang-gopkg-go-playground-validator.v8-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-gopkg-go-playground-validator.v8-dev package on Ubuntu 21.10 (Impish Indri)

Package: golang-gopkg-go-playground-validator.v8-dev
Architecture: all
Version: 8.18.2-1
Priority: extra
Section: universe/devel
Source: golang-gopkg-go-playground-validator.v8
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 281
Filename: pool/universe/g/golang-gopkg-go-playground-validator.v8/golang-gopkg-go-playground-validator.v8-dev_8.18.2-1_all.deb
Size: 35612
MD5sum: 26bf3caa3a92e96bb4c9aef72a5f3947
SHA1: 86100fca93c71b38ce2142670dad869afc5e1eb1
SHA256: 6959f972278ecb2ca1c023a5bba9853c596405a474c552fb353955a13caa2568
SHA512: ddc8e63af7f4ef0d637fe58d085c2f839968e3f9f51ea8f5ca2bd8a9a11c8b7ea58cac3ad38e5a824e7f68be285881b311a6739e62062350bdb421c08d18c7d6
Homepage: https://github.com/go-playground/validator
Description-en: 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
Description-md5: 69aa177a91a6e4f7efa06c5b6c667a53