From c9c9d981d78093d243b73c2681752a839f2c662e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=B6=E7=88=B8?= <1@5.nu> Date: Mon, 7 May 2018 18:42:23 +0800 Subject: [PATCH] godmt --- gogs/gogs.go | 4 ++-- webhooks.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gogs/gogs.go b/gogs/gogs.go index 1cf3798..180c9ce 100644 --- a/gogs/gogs.go +++ b/gogs/gogs.go @@ -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 diff --git a/webhooks.go b/webhooks.go index 994f748..4ab78b1 100644 --- a/webhooks.go +++ b/webhooks.go @@ -28,7 +28,7 @@ func (p Provider) String() string { // webhooks available providers const ( - GitHub Provider = iota + GitHub Provider = iota Bitbucket GitLab Gogs