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