"github.com/ctreminiom/go-atlassian/jira/v2"
----------- Set an environment variable in git bash -----------
export HOST="https://ctreminiom.atlassian.net/"
export MAIL="MAIL_ADDRESS"
Docs: https://stackoverflow.com/questions/34169721/set-an-environment-variable-in-git-bash
token = os.Getenv("TOKEN")
atlassian, err := v2.New(nil, host)
atlassian.Auth.SetBasicAuth(mail, token)
task, response, err := atlassian.Task.Get(context.Background(), "1000")
log.Println("Response HTTP Code", response.Code)
log.Println("HTTP Endpoint Used", response.Endpoint)