summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/misc
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2020-04-05 01:20:50 -0500
committerGitHub <noreply@github.com>2020-04-05 07:20:50 +0100
commitbaadb51445b1d990f72a37b0ef7575f5ed72824a (patch)
tree192fa25f2dc144bfa5c78adafc9ccd8f92db86bb /routers/api/v1/misc
parentb74d30ae275b4f025f689efca748dd0cbd826b22 (diff)
downloadgitea-baadb51445b1d990f72a37b0ef7575f5ed72824a.tar.gz
gitea-baadb51445b1d990f72a37b0ef7575f5ed72824a.zip
Add gitea-vet (#10948)
* Add copyright Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add gitea-vet and fix non-compliance Signed-off-by: jolheiser <john.olheiser@gmail.com> * Combine tools.go into build.go and clean up Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove extra GO111MODULE=on Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'routers/api/v1/misc')
-rw-r--r--routers/api/v1/misc/markdown_test.go4
-rw-r--r--routers/api/v1/misc/signing.go4
2 files changed, 8 insertions, 0 deletions
diff --git a/routers/api/v1/misc/markdown_test.go b/routers/api/v1/misc/markdown_test.go
index 531b0d72c3..6c81ec8eb4 100644
--- a/routers/api/v1/misc/markdown_test.go
+++ b/routers/api/v1/misc/markdown_test.go
@@ -1,3 +1,7 @@
+// 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 misc
import (
diff --git a/routers/api/v1/misc/signing.go b/routers/api/v1/misc/signing.go
index f5428670af..0b295f3898 100644
--- a/routers/api/v1/misc/signing.go
+++ b/routers/api/v1/misc/signing.go
@@ -1,3 +1,7 @@
+// 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 misc
import (