Skip to content

Commit c9c9d98

Browse files
author
奶爸
committed
godmt
1 parent 22713e3 commit c9c9d98

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gogs/gogs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import (
66
"io/ioutil"
77
"net/http"
88

9-
"gopkg.in/go-playground/webhooks.v3"
10-
client "github.com/gogits/go-gogs-client"
119
"crypto/hmac"
1210
"crypto/sha256"
1311
"encoding/hex"
12+
client "github.com/gogits/go-gogs-client"
13+
"gopkg.in/go-playground/webhooks.v3"
1414
)
1515

1616
// Webhook instance contains all methods needed to process events

webhooks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (p Provider) String() string {
2828

2929
// webhooks available providers
3030
const (
31-
GitHub Provider = iota
31+
GitHub Provider = iota
3232
Bitbucket
3333
GitLab
3434
Gogs

0 commit comments

Comments
 (0)