Install golang-golang-x-oauth2-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-golang-x-oauth2-dev
Description:
make OAuth2 authorized and authenticated HTTP requests
Package oauth2 provides support for making OAuth2 authorized and authenticated HTTP requests. It can additionally grant authorization with Bearer JWT.
Homepage: http://golang.org/x/oauth2
Version: 0.0~git20180207.543e378-1
Section: universe/devel