How to Install and Uninstall golang-go.uber-zap-dev Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 12,2024

1. Install "golang-go.uber-zap-dev" package

In this section, we are going to explain the necessary steps to install golang-go.uber-zap-dev on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install golang-go.uber-zap-dev

2. Uninstall "golang-go.uber-zap-dev" package

Please follow the instructions below to uninstall golang-go.uber-zap-dev on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove golang-go.uber-zap-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-go.uber-zap-dev package on Ubuntu 20.10 (Groovy Gorilla)

Package: golang-go.uber-zap-dev
Architecture: all
Version: 1.14.1-1ubuntu1
Priority: optional
Section: universe/devel
Source: golang-go.uber-zap
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 576
Depends: golang-github-apex-log-dev, golang-github-pkg-errors-dev, golang-github-stretchr-testify-dev, golang-go.uber-atomic-dev, golang-go.uber-multierr-dev
Filename: pool/universe/g/golang-go.uber-zap/golang-go.uber-zap-dev_1.14.1-1ubuntu1_all.deb
Size: 86176
MD5sum: 37ca6dae3ada414f5354f3f9d985d5d6
SHA1: acd9e9ff286e106f7d4f2edbb4abbd6739e1eb7e
SHA256: 15d0790218fddd217cdcbd65c3ba22aaafda0e3be51524909aaf105648fed7a6
SHA512: 5e77f6bbf1dbab9192d91dcb1698a890dc79d8733c824d5ac3e492088005cedf1e78bcfe48fc0ba169b66e6ef35cb432fb6c77478095e75a0e98804e7939deec
Homepage: https://github.com/uber-go/zap
Description-en: Blazing fast, structured, leveled logging in Go
Package zap provides fast, structured, leveled logging.
.
For applications that log in the hot path, reflection-based
serialization and string formatting are prohibitively expensive,
they're CPU-intensive and make many small allocations. Put
differently, using json.Marshal and fmt.Fprintf to log tons of
interface{} makes your application slow.
.
Zap takes a different approach. It includes a reflection-free,
zero-allocation JSON encoder, and the base Logger strives to avoid
serialization overhead and allocations wherever possible. By
building the high-level SugaredLogger on that foundation, zap lets
users choose when they need to count every allocation and when
they'd prefer a more familiar, loosely typed API.
Description-md5: 576574474511fe7a742a101d42a4364e