We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22713e3 commit c9c9d98Copy full SHA for c9c9d98
gogs/gogs.go
@@ -6,11 +6,11 @@ import (
6
"io/ioutil"
7
"net/http"
8
9
- "gopkg.in/go-playground/webhooks.v3"
10
- client "github.com/gogits/go-gogs-client"
11
"crypto/hmac"
12
"crypto/sha256"
13
"encoding/hex"
+ client "github.com/gogits/go-gogs-client"
+ "gopkg.in/go-playground/webhooks.v3"
14
)
15
16
// Webhook instance contains all methods needed to process events
webhooks.go
@@ -28,7 +28,7 @@ func (p Provider) String() string {
28
29
// webhooks available providers
30
const (
31
- GitHub Provider = iota
+ GitHub Provider = iota
32
Bitbucket
33
GitLab
34
Gogs
0 commit comments