How to Install and Uninstall golang-github-erikstmartin-go-testdb-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "golang-github-erikstmartin-go-testdb-dev" package

In this section, we are going to explain the necessary steps to install golang-github-erikstmartin-go-testdb-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-github-erikstmartin-go-testdb-dev

2. Uninstall "golang-github-erikstmartin-go-testdb-dev" package

This guide covers the steps necessary to uninstall golang-github-erikstmartin-go-testdb-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove golang-github-erikstmartin-go-testdb-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-erikstmartin-go-testdb-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-github-erikstmartin-go-testdb-dev
Architecture: all
Version: 0.0~git20160219.0.8d10e4a-1.1
Priority: extra
Section: universe/devel
Source: golang-github-erikstmartin-go-testdb
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 49
Filename: pool/universe/g/golang-github-erikstmartin-go-testdb/golang-github-erikstmartin-go-testdb-dev_0.0~git20160219.0.8d10e4a-1.1_all.deb
Size: 8136
MD5sum: 647fc5edd8eb4f446497176cd6bd2b2a
SHA1: dcf29b1ff149346eb430764942336cac39080ed2
SHA256: 10cdf7adb48d127108728ae648c78b43ac74822f760fa4f5b4911b1f03353101
SHA512: bf5d0631b6c135bcfc0c817a7b89b9c39c194dc8be11ede605b38e5b387543afc5852710e42eaa351d837117ac4c3697a471619bd11e2c4231de0e349e643ae1
Homepage: https://github.com/erikstmartin/go-testdb
Description-en: Framework for stubbing responses from go's driver.Driver interface
go-testdb Framework for stubbing responses from go's driver.Driver
interface.
.
This can be used to sit in place of your sql.Db so that you can stub
responses for sql calls, and remove database dependencies for your
test suite.
.
This project is in its infancy, but has worked well for all the use
cases i've had so far, and continues to evolve as new scenarios are
uncovered. Please feel free to send pull-requests, or submit feature
requests if you have scenarios that are not accounted for yet. Setup The
only thing needed for setup is to include the go-testdb package, then
you can create your db connection specifying "testdb" as your driver.
Description-md5: a96189e24f7563bcc0ae151512f50fc2

5. The same packages on other Linux Distributions