Complete the steps described in the Admin SDK Reseller API Go Quickstart, and in about five minutes you'll have a simple Go command-line application that makes requests to the Reseller API.
Credentials
Download the credentials.json file to this Reports by following the steps in the above link.
Install Dependencies
go get google.golang.org/api/reseller/v1
go get golang.org/x/oauth2/google