Skip to content

Commit 22713e3

Browse files
author
奶爸
committed
add gogs support
1 parent 0ebe523 commit 22713e3

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

bitbucket/bitbucket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"io/ioutil"
77
"net/http"
88

9-
"github.com/naiba/webhooks"
9+
"gopkg.in/go-playground/webhooks.v3"
1010
)
1111

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

github/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"io/ioutil"
1010
"net/http"
1111

12-
"github.com/naiba/webhooks"
12+
"gopkg.in/go-playground/webhooks.v3"
1313
)
1414

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

gitlab/gitlab.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"io/ioutil"
77
"net/http"
88

9-
"github.com/naiba/webhooks"
9+
"gopkg.in/go-playground/webhooks.v3"
1010
)
1111

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

gogs/gogs.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* Copyright (c) 2018, 奶爸<[email protected]>
3-
* All rights reserved.
4-
*/
5-
61
package gogs
72

83
import (
@@ -11,7 +6,7 @@ import (
116
"io/ioutil"
127
"net/http"
138

14-
"github.com/naiba/webhooks"
9+
"gopkg.in/go-playground/webhooks.v3"
1510
client "github.com/gogits/go-gogs-client"
1611
"crypto/hmac"
1712
"crypto/sha256"

0 commit comments

Comments
 (0)