How to Install and Uninstall golang-github-data-dog-go-sqlmock-dev Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 22,2024

1. Install "golang-github-data-dog-go-sqlmock-dev" package

This guide covers the steps necessary to install golang-github-data-dog-go-sqlmock-dev on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install golang-github-data-dog-go-sqlmock-dev

2. Uninstall "golang-github-data-dog-go-sqlmock-dev" package

This tutorial shows how to uninstall golang-github-data-dog-go-sqlmock-dev on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove golang-github-data-dog-go-sqlmock-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-data-dog-go-sqlmock-dev package on Ubuntu 20.10 (Groovy Gorilla)

Package: golang-github-data-dog-go-sqlmock-dev
Architecture: all
Version: 1.4.1-1
Priority: extra
Section: universe/devel
Source: golang-github-data-dog-go-sqlmock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 204
Filename: pool/universe/g/golang-github-data-dog-go-sqlmock/golang-github-data-dog-go-sqlmock-dev_1.4.1-1_all.deb
Size: 28400
MD5sum: 4ed558cb790b590948cb4575538cecc7
SHA1: 6fd170a1c48543bef57460a17125bdf5f785d144
SHA256: 87384699b7001ec87a4e3e99ab8ea39d4ca6b5574d8d197b173cdbc086bfa1f1
SHA512: 53f69a54ab30fa243ce3b67c98b5d8e62c385e00b5cfd7448c6ad0268330304095324dc9d18bb22738a6a059a0cc29d876985e53945a47ad79e0f2fa0375b1ba
Homepage: https://github.com/DATA-DOG/go-sqlmock
Description-en: Sql mock driver for golang to test database interactions
This is a mock driver as database/sql/driver which is very flexible and
pragmatic to manage and mock expected queries. All the expectations should be
met and all queries and actions triggered should be mocked in order to pass a
test. The package has no 3rd party dependencies.
.
This package contains the source.
Description-md5: f4f11baf0ce9c999bac71e839b560b9a