Imports github.com/drone/drone/model golang.org/x/oauth2/bitbucket golang.org/x/oauth2 github.com/Sirupsen/logrus github.com/drone/drone/shared/httputil github.com/drone/drone/shared/envconfig Standard library imports bytes encoding/json fmt io io/ioutil net/http net/url strconv strings time