aboutsummaryrefslogtreecommitdiff
path: root/gen.go
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2022-06-12 10:34:12 +0800
committerGitHub <noreply@github.com>2022-06-12 10:34:12 +0800
commit2e19f5a3c8193776685a5e9fea9ca8663f14dd8d (patch)
treeb6163f5fa165034028c668f10140fc750ff5e4c3 /gen.go
parent63cb76106afbcbdd6cc01dad8bcb2a4a35b2fa97 (diff)
db: add tests for authentication through login sources (#7049)
Diffstat (limited to 'gen.go')
-rw-r--r--gen.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/gen.go b/gen.go
new file mode 100644
index 00000000..f353b854
--- /dev/null
+++ b/gen.go
@@ -0,0 +1,8 @@
+// Copyright 2022 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package main
+
+//go:generate go install golang.org/x/tools/cmd/goimports@v0.1.10
+//go:generate go run github.com/derision-test/go-mockgen/cmd/go-mockgen@v1.3.3