How to Install and Uninstall golang-go.uber-zap-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 15,2024

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

Please follow the guidelines below to install golang-go.uber-zap-dev on Ubuntu 21.04 (Hirsute Hippo)

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

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

Here is a brief guide to show you how to uninstall golang-go.uber-zap-dev on Ubuntu 21.04 (Hirsute Hippo):

$ 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 21.04 (Hirsute Hippo)

Package: golang-go.uber-zap-dev
Architecture: all
Version: 1.15.0-2
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: 586
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.15.0-2_all.deb
Size: 87816
MD5sum: a0c8d3d844d38b74b8e35d7de5158af3
SHA1: 5b5c6cd7ed038aa74aee6001f451a0f8e90605ff
SHA256: 2e5492facbce91134b209d1457138e578d1d5e5ee551340d6d295d0214fe31e3
SHA512: 79221468c346488a1f05725d1d3ea556e4e03465db7b4d47bf91b7e830bab3539c408736ec2a676aa7a386383596188f251337b652030b7a4a6baa25e39b7ffa
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