2020-04-05 11:50:50 +05:30
|
|
|
// 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 (
|
2020-08-15 22:43:07 +05:30
|
|
|
"code.gitea.io/gitea-vet/checks"
|
|
|
|
|
2020-04-05 11:50:50 +05:30
|
|
|
"golang.org/x/tools/go/analysis/unitchecker"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
unitchecker.Main(
|
|
|
|
checks.Imports,
|
|
|
|
checks.License,
|
2020-08-15 22:43:07 +05:30
|
|
|
checks.Migrations,
|
2020-04-05 11:50:50 +05:30
|
|
|
)
|
|
|
|
}
|