1 Star 0 Fork 0

lonely/gometalinter

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
main.go 478 Bytes
Copy Edit Raw Blame History
Alec Thomas authored 2017-09-09 13:03 . Update all deps (#344).
// Copyright (c) 2015, Daniel Martí <mvdan@mvdan.cc>
// See LICENSE for licensing information
package main // import "mvdan.cc/interfacer"
import (
"flag"
"fmt"
"os"
"mvdan.cc/interfacer/check"
)
var _ = flag.Bool("v", false, "print the names of packages as they are checked")
func main() {
flag.Parse()
lines, err := check.CheckArgs(flag.Args())
if err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
for _, line := range lines {
fmt.Println(line)
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lonely0422/gometalinter.git
git@gitee.com:lonely0422/gometalinter.git
lonely0422
gometalinter
gometalinter
v2.0.9

Search