aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gitea.com/jolheiser/gitea-vet/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gitea.com/jolheiser/gitea-vet/main.go')
-rw-r--r--vendor/gitea.com/jolheiser/gitea-vet/main.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/gitea.com/jolheiser/gitea-vet/main.go b/vendor/gitea.com/jolheiser/gitea-vet/main.go
new file mode 100644
index 0000000000..9b8b000065
--- /dev/null
+++ b/vendor/gitea.com/jolheiser/gitea-vet/main.go
@@ -0,0 +1,17 @@
+// Copyright 2020 The Gitea 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
+
+import (
+ "gitea.com/jolheiser/gitea-vet/checks"
+ "golang.org/x/tools/go/analysis/unitchecker"
+)
+
+func main() {
+ unitchecker.Main(
+ checks.Imports,
+ checks.License,
+ )
+}