package
0.0.0-20221003162714-fafb98587ddb
Repository: https://github.com/googleworkspace/go-samples.git
Documentation: pkg.go.dev

# README

Gmail Go Quickstart

Complete the steps described in the Gmail Go Quickstart, and in about five minutes you'll have a simple Go command-line application that makes requests to the Gmail API.

Credentials

Download the credentials.json file to this directory by following the steps in the above link.

Install

go get google.golang.org/api/gmail/v1
go get golang.org/x/oauth2/google

Run

go run quickstart.go