add gogs support

This commit is contained in:
奶爸
2018-05-07 18:41:12 +08:00
parent 0ebe5231e2
commit 22713e3054
4 changed files with 4 additions and 9 deletions
+1 -6
View File
@@ -1,8 +1,3 @@
/*
* Copyright (c) 2018, 奶爸<1@5.nu>
* All rights reserved.
*/
package gogs
import (
@@ -11,7 +6,7 @@ import (
"io/ioutil"
"net/http"
"github.com/naiba/webhooks"
"gopkg.in/go-playground/webhooks.v3"
client "github.com/gogits/go-gogs-client"
"crypto/hmac"
"crypto/sha256"