diff --git a/gogs/gogs.go b/gogs/gogs.go index 1cf3798..180c9ce 100644 --- a/gogs/gogs.go +++ b/gogs/gogs.go @@ -6,11 +6,11 @@ import ( "io/ioutil" "net/http" - "gopkg.in/go-playground/webhooks.v3" - client "github.com/gogits/go-gogs-client" "crypto/hmac" "crypto/sha256" "encoding/hex" + client "github.com/gogits/go-gogs-client" + "gopkg.in/go-playground/webhooks.v3" ) // Webhook instance contains all methods needed to process events diff --git a/webhooks.go b/webhooks.go index 994f748..4ab78b1 100644 --- a/webhooks.go +++ b/webhooks.go @@ -28,7 +28,7 @@ func (p Provider) String() string { // webhooks available providers const ( - GitHub Provider = iota + GitHub Provider = iota Bitbucket GitLab Gogs