How to Install and Uninstall golang-github-munnerz-goautoneg-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 29,2024

1. Install "golang-github-munnerz-goautoneg-dev" package

This is a short guide on how to install golang-github-munnerz-goautoneg-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install golang-github-munnerz-goautoneg-dev

2. Uninstall "golang-github-munnerz-goautoneg-dev" package

Please follow the instructions below to uninstall golang-github-munnerz-goautoneg-dev on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove golang-github-munnerz-goautoneg-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-munnerz-goautoneg-dev package on Ubuntu 21.10 (Impish Indri)

Package: golang-github-munnerz-goautoneg-dev
Architecture: all
Version: 0.0~git20191010.a7dc8b6-2
Priority: optional
Section: universe/golang
Source: golang-github-munnerz-goautoneg
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Filename: pool/universe/g/golang-github-munnerz-goautoneg/golang-github-munnerz-goautoneg-dev_0.0~git20191010.a7dc8b6-2_all.deb
Size: 4348
MD5sum: d01f9ee0589448b1e2e072f0b5e237c6
SHA1: 865ab19e17242551b398b5f8d0b3f1d346a40e44
SHA256: e012f7a1053e55c1a44832af23b5471216dbf9209f969e0448970bafd80add37
SHA512: d021fd611d2efbda269c35c46bcdb5489a9fc8bd74bb7584885a745ce892e8f82ca8dcb23119b75f047d52031b62242c95e836c85caacc61da47289fe78a25ed
Homepage: https://github.com/munnerz/goautoneg
Description-en: golang functions for HTTP Content-Type autonegotiation (library)
HTTP Content-Type Autonegotiation functions for golang.
The functions in this package implement the behaviour specified in
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html.
.
This golang package is a mirror of bitbucket.org/ww/goautoneg.
.
func Negotiate(header string, alternatives []string) (content_type string)
Negotiate the most appropriate content_type given the accept header and a
list of alternatives.
.
func ParseAccept(header string) (accept []Accept)
Parse an Accept Header string returning a sorted list of clauses.
Description-md5: 62129b3a2f72aea6b7fd21504d7f3c83