Bladeren bron

Updated Hook

Yoginth 7 jaren geleden
bovenliggende
commit
14e20f73f8
1 gewijzigde bestanden met toevoegingen van 5 en 7 verwijderingen
  1. 5 7
      models/webhook.go

+ 5 - 7
models/webhook.go

@@ -6,6 +6,10 @@ import (
 	"crypto/tls"
 	"encoding/hex"
 	"fmt"
+	"gitote/gitote/models/errors"
+	"gitote/gitote/pkg/httplib"
+	"gitote/gitote/pkg/setting"
+	"gitote/gitote/pkg/sync"
 	"io/ioutil"
 	"strings"
 	"time"
@@ -13,14 +17,8 @@ import (
 	"github.com/go-xorm/xorm"
 	"github.com/json-iterator/go"
 	gouuid "github.com/satori/go.uuid"
-	log "gopkg.in/clog.v1"
-
 	api "gitlab.com/gitote/go-gitote-client"
-
-	"gitote/gitote/models/errors"
-	"gitote/gitote/pkg/httplib"
-	"gitote/gitote/pkg/setting"
-	"gitote/gitote/pkg/sync"
+	log "gopkg.in/clog.v1"
 )
 
 var HookQueue = sync.NewUniqueQueue(setting.Webhook.QueueLength)