Imports github.com/XeroAPI/xerogolang/helpers github.com/XeroAPI/xerogolang/auth github.com/markbates/goth github.com/mrjones/oauth golang.org/x/oauth2 Standard library imports net/http/httputil bytes crypto crypto/x509 encoding/json encoding/pem errors fmt io/ioutil log net/http net/url os strings time