How to Install and Uninstall golang-github-data-dog-go-sqlmock-dev Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

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

This is a short guide on how to install golang-github-data-dog-go-sqlmock-dev on Ubuntu 16.04 LTS (Xenial Xerus)

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

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

Please follow the guidance below to uninstall golang-github-data-dog-go-sqlmock-dev on Ubuntu 16.04 LTS (Xenial Xerus):

$ 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 16.04 LTS (Xenial Xerus)

Package: golang-github-data-dog-go-sqlmock-dev
Priority: extra
Section: universe/devel
Installed-Size: 101
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Architecture: all
Source: golang-github-data-dog-go-sqlmock
Version: 1.0.0-1
Filename: pool/universe/g/golang-github-data-dog-go-sqlmock/golang-github-data-dog-go-sqlmock-dev_1.0.0-1_all.deb
Size: 15904
MD5sum: 9508af48a047633fd95cd386de08bd2d
SHA1: bca464b0633e2071312a3d3d54a6e829064ff894
SHA256: c293bd532b41fb17a352f044272c27431163b5b8166aff223b945a61d96e03fd
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
Homepage: https://github.com/DATA-DOG/go-sqlmock
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu