How To Install golang-github-mitchellh-testing-interface-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-mitchellh-testing-interface-devel
on Fedora 36.
What is golang-github-mitchellh-testing-interface-devel
Go-testing-interface is a Go library that exports an interface that *testing.T implements as well as a runtime version you can use in its place. The purpose of this library is so that you can export test helpers as a public API without depending on the “testing” package, since you can’t create a *testing.T struct manually. This lets you, for example, use the public testing APIs to generate mock data at runtime, rather than just at test time. This package contains the source code needed for building packages that reference the following Go import paths – github.com/mitchellh/go-testing-interface
We can use yum
or dnf
to install golang-github-mitchellh-testing-interface-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-mitchellh-testing-interface-devel.
Install golang-github-mitchellh-testing-interface-devel on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install golang-github-mitchellh-testing-interface-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-mitchellh-testing-interface-devel
Install golang-github-mitchellh-testing-interface-devel on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install golang-github-mitchellh-testing-interface-devel
using yum
by running the following command:
sudo yum -y install golang-github-mitchellh-testing-interface-devel
How To Uninstall golang-github-mitchellh-testing-interface-devel on Fedora 36
To uninstall only the golang-github-mitchellh-testing-interface-devel
package we can use the following command:
sudo dnf remove golang-github-mitchellh-testing-interface-devel
golang-github-mitchellh-testing-interface-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-mitchellh-testing-interface-devel
/usr/share/doc/golang-github-mitchellh-testing-interface-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/mitchellh
/usr/share/gocode/src/github.com/mitchellh/go-testing-interface
/usr/share/gocode/src/github.com/mitchellh/go-testing-interface/.goipath
/usr/share/gocode/src/github.com/mitchellh/go-testing-interface/README.md
/usr/share/gocode/src/github.com/mitchellh/go-testing-interface/go.mod
/usr/share/gocode/src/github.com/mitchellh/go-testing-interface/testing.go
/usr/share/gocode/src/github.com/mitchellh/go-testing-interface/testing_go19.go
/usr/share/gocode/src/github.com/mitchellh/go-testing-interface/testing_test.go
/usr/share/licenses/golang-github-mitchellh-testing-interface-devel
/usr/share/licenses/golang-github-mitchellh-testing-interface-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-mitchellh-testing-interface-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).