aboutsummaryrefslogtreecommitdiff
path: root/internal/route/api/v1/repo/hook.go
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2021-05-19 13:38:13 +0800
committerGitHub <noreply@github.com>2021-05-19 13:38:13 +0800
commit1a1a01a8423a58c2c9f4906364631b160ec593eb (patch)
tree76da60be7bd2e332b91171d0b1c342928284e846 /internal/route/api/v1/repo/hook.go
parentc4cf659e324379dba29c78d6e838dfebe6b59e2f (diff)
ci: use new lint action and add custom config (#6562)
Diffstat (limited to 'internal/route/api/v1/repo/hook.go')
-rw-r--r--internal/route/api/v1/repo/hook.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/route/api/v1/repo/hook.go b/internal/route/api/v1/repo/hook.go
index d5730165..6aa3feb5 100644
--- a/internal/route/api/v1/repo/hook.go
+++ b/internal/route/api/v1/repo/hook.go
@@ -7,11 +7,12 @@ package repo
import (
"net/http"
- api "github.com/gogs/go-gogs-client"
- "github.com/json-iterator/go"
+ jsoniter "github.com/json-iterator/go"
"github.com/pkg/errors"
"github.com/unknwon/com"
+ api "github.com/gogs/go-gogs-client"
+
"gogs.io/gogs/internal/context"
"gogs.io/gogs/internal/db"
"gogs.io/gogs/internal/route/api/v1/convert"