mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-05 09:03:48 +08:00
baadb51445
* 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>
18 lines
349 B
Go
18 lines
349 B
Go
// 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,
|
|
)
|
|
}
|