How to Install and Uninstall golang-github-alecthomas-repr-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 23,2024

1. Install "golang-github-alecthomas-repr-dev" package

Please follow the step by step instructions below to install golang-github-alecthomas-repr-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-github-alecthomas-repr-dev

2. Uninstall "golang-github-alecthomas-repr-dev" package

Please follow the step by step instructions below to uninstall golang-github-alecthomas-repr-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove golang-github-alecthomas-repr-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-alecthomas-repr-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-github-alecthomas-repr-dev
Architecture: all
Version: 0.0~git20181024.d37bc2a-2
Priority: optional
Section: universe/devel
Source: golang-github-alecthomas-repr
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 26
Depends: golang-github-stretchr-testify-dev
Filename: pool/universe/g/golang-github-alecthomas-repr/golang-github-alecthomas-repr-dev_0.0~git20181024.d37bc2a-2_all.deb
Size: 6112
MD5sum: 1e061b33c722bf1577c56e530480eee3
SHA1: 12fb65316ba2388f07011976957336b2350236f6
SHA256: e53cfbc2bffe9d052e5c507a37329db4bc42484de976e044b62812c2b568a60c
SHA512: 7c3d62b3e30e2b5152071c6cbc6cbf14d2bdfc722c9863fdbc8495f48a9289d5a6e0aba94f7949e70a60d4984d1595b13df035ec6c44ad22042a1608a6d07189
Homepage: https://github.com/alecthomas/repr
Description-en: Python's repr() for Go
The repr package attempts to represent Go values in a form that can be
used almost directly in Go source code.
.
Unfortunately, some values (such as pointers to basic types) cannot
be represented directly in Go. These values will be represented as
&, e.g. &23
.
Example:
.
type test struct {
S string
I int
A []int
}
.
func main() {
repr.Print(&test{
S: "String",
I: 123,
A: []int{1, 2, 3},
})
}
.
Outputs
.
&main.test{S: "String", I: 123, A: []int{1, 2, 3}}
Description-md5: 925957333de0ebef5c7ea9e5a1a718ee