diff options
author | John Olheiser <john.olheiser@gmail.com> | 2020-04-05 01:20:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 07:20:50 +0100 |
commit | baadb51445b1d990f72a37b0ef7575f5ed72824a (patch) | |
tree | 192fa25f2dc144bfa5c78adafc9ccd8f92db86bb /modules | |
parent | b74d30ae275b4f025f689efca748dd0cbd826b22 (diff) | |
download | gitea-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 'modules')
-rw-r--r-- | modules/base/tool_test.go | 4 | ||||
-rw-r--r-- | modules/generate/generate_test.go | 4 | ||||
-rw-r--r-- | modules/git/commit_info_test.go | 4 | ||||
-rw-r--r-- | modules/lfs/content_store.go | 4 | ||||
-rw-r--r-- | modules/lfs/server.go | 4 | ||||
-rw-r--r-- | modules/process/manager_test.go | 4 | ||||
-rw-r--r-- | modules/user/user_test.go | 4 |
7 files changed, 28 insertions, 0 deletions
diff --git a/modules/base/tool_test.go b/modules/base/tool_test.go index 9c1a79e3f2..cadb851858 100644 --- a/modules/base/tool_test.go +++ b/modules/base/tool_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 base import ( diff --git a/modules/generate/generate_test.go b/modules/generate/generate_test.go index 538471af49..1cacfe6681 100644 --- a/modules/generate/generate_test.go +++ b/modules/generate/generate_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 generate import ( diff --git a/modules/git/commit_info_test.go b/modules/git/commit_info_test.go index ac7bc43c4e..ef40e4a3ab 100644 --- a/modules/git/commit_info_test.go +++ b/modules/git/commit_info_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 git import ( diff --git a/modules/lfs/content_store.go b/modules/lfs/content_store.go index 36e84a31ba..6ad565178c 100644 --- a/modules/lfs/content_store.go +++ b/modules/lfs/content_store.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 lfs import ( diff --git a/modules/lfs/server.go b/modules/lfs/server.go index cdbda46214..fda5ed7452 100644 --- a/modules/lfs/server.go +++ b/modules/lfs/server.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 lfs import ( diff --git a/modules/process/manager_test.go b/modules/process/manager_test.go index b18f76f944..42f4b0c04b 100644 --- a/modules/process/manager_test.go +++ b/modules/process/manager_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 process import ( diff --git a/modules/user/user_test.go b/modules/user/user_test.go index fadcbde7bf..3b3758efc0 100644 --- a/modules/user/user_test.go +++ b/modules/user/user_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 user import ( |