How to Install and Uninstall golang-github-go-playground-validator-v10-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 20,2024

1. Install "golang-github-go-playground-validator-v10-dev" package

This guide let you learn how to install golang-github-go-playground-validator-v10-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-github-go-playground-validator-v10-dev

2. Uninstall "golang-github-go-playground-validator-v10-dev" package

Learn how to uninstall golang-github-go-playground-validator-v10-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove golang-github-go-playground-validator-v10-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-go-playground-validator-v10-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-github-go-playground-validator-v10-dev
Architecture: all
Version: 10.4.1-2
Priority: optional
Section: universe/golang
Source: golang-github-go-playground-validator-v10
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1179
Depends: golang-github-go-playground-assert-v2-dev, golang-github-go-playground-locales-dev, golang-github-go-playground-universal-translator-dev, golang-github-leodido-go-urn-dev, golang-golang-x-crypto-dev
Filename: pool/universe/g/golang-github-go-playground-validator-v10/golang-github-go-playground-validator-v10-dev_10.4.1-2_all.deb
Size: 94056
MD5sum: ca2c40668b9bd4d5128adf8dc96c542b
SHA1: a5123e26a6e7807843faa8afcb9428697e4f4947
SHA256: b6efeba6c0f4aa122fee3b7104f11dc3be2e86d11499d77f31e4accc5e2b7f98
SHA512: 10d30cb49247c2943cabbcc4d6384c89749fe919255d2d74e884da032cc14492a80aca02ab60c3b279c4219b694c7b3f025638a0825041c3e6e2a5d3069ea585
Homepage: https://github.com/go-playground/validator
Description-en: 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.
Description-md5: 0eb386802348a926ecdfef555071de7e