package
0.0.0-20221122155239-d7e1cbfcf6c3
Repository: https://github.com/utkarshverma/qgmail.git
Documentation: pkg.go.dev
# Functions
GetToken requests an authorization token and stores it in `Token`.
NewGmailService creates a new `gmail.Service` using `Config` and `Token`.
ReadCredentials unmarshals `CredsFile` to `config`.
ReadToken reads `tokenFile` to `Token`.
SaveToken saves `Token` at `tokenPath`.
# Variables
CredsFile stores path to Gmail API credentials.