Skip to content

Commit

Permalink
godmt
Browse files Browse the repository at this point in the history
  • Loading branch information
奶爸 committed May 7, 2018
1 parent 22713e3 commit c9c9d98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gogs/gogs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion webhooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (p Provider) String() string {

// webhooks available providers
const (
GitHub Provider = iota
GitHub Provider = iota
Bitbucket
GitLab
Gogs
Expand Down

0 comments on commit c9c9d98

Please sign in to comment.