Imports github.com/gorilla/mux github.com/sirupsen/logrus golang.org/x/oauth2 golang.org/x/oauth2/bitbucket golang.org/x/oauth2/clientcredentials gopkg.in/yaml.v2 Standard library imports encoding/base64 encoding/json errors io/ioutil net/http net/url os strings time