qax-os / goreporter

A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Apache License 2.0
3.13k stars 273 forks source link

Compile error with go1.11 #69

Open mnhkahn opened 6 years ago

mnhkahn commented 6 years ago

go get -u github.com/360EntSecGroup-Skylar/goreporter go: finding github.com/360EntSecGroup-Skylar/goreporter latest go: downloading github.com/360EntSecGroup-Skylar/goreporter v0.0.0-20180523022159-2993f1c8801c go: finding github.com/facebookgo/inject latest go: finding github.com/reconquest/barely latest go: finding github.com/golang/glog latest go: finding github.com/json-iterator/go v1.1.5 go: finding github.com/reconquest/loreley latest go: finding golang.org/x/tools/go/gcexportdata latest go: finding golang.org/x/tools/go/ssa latest go: finding golang.org/x/tools/go/gcimporter15 latest go: finding github.com/fatih/color v1.7.0 go: downloading github.com/facebookgo/inject v0.0.0-20180706035515-f23751cae28b go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b go: downloading github.com/reconquest/barely v0.0.0-20160729074550-0f12e3bb2e13 go: downloading github.com/json-iterator/go v1.1.5 go: finding golang.org/x/tools/go/loader latest go: finding golang.org/x/tools/go latest go: finding golang.org/x/tools/go/ssa/ssautil latest go: downloading github.com/reconquest/loreley v0.0.0-20160708080500-2ab6b7470a54 go: finding github.com/kisielk/gotool v1.0.0 go: finding golang.org/x/tools latest go: downloading golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52 go: downloading github.com/fatih/color v1.7.0 go: downloading github.com/kisielk/gotool v1.0.0 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/modern-go/concurrent latest go: finding github.com/facebookgo/structtag latest go: finding github.com/modern-go/reflect2 v1.0.1 go: finding github.com/mattn/go-colorable v0.0.9 go: finding golang.org/x/crypto/ssh/terminal latest go: downloading github.com/mattn/go-isatty v0.0.3 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.1 go: downloading github.com/mattn/go-colorable v0.0.9 go: downloading github.com/facebookgo/structtag v0.0.0-20150214074306-217e25fb9691 go: finding golang.org/x/crypto/ssh latest go: finding golang.org/x/crypto latest go: downloading golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac go: finding golang.org/x/sys/unix latest go: finding golang.org/x/sys latest go: downloading golang.org/x/sys v0.0.0-20180828065106-d99a578cf41b build github.com/360EntSecGroup-Skylar/goreporter: cannot find module for path mvdan.cc/lint lichaodeMacBook-Pro:cyeam lichao$ go get -u mvdan.cc/lint/cmd/metalint go get mvdan.cc/lint/cmd/metalint: unrecognized import path "mvdan.cc/lint/cmd/metalint" (https fetch: Get https://mvdan.cc/lint/cmd/metalint?go-get=1: net/http: TLS handshake timeout)

mnhkahn commented 6 years ago

GOARCH="amd64" GOBIN="" GOCACHE="/Users/lichao/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/lichao/code/gocode" GOPROXY="" GORACE="" GOROOT="/usr/local/go" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/lichao/code/gocode/src/cyeam/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/lm/cywnk1f96xq6xdzwjqj0dx0w0000gn/T/go-build300232258=/tmp/go-build -gno-record-gcc-switches -fno-common"

wgliang commented 6 years ago

Maybe that was your network problem, I test it's ok on my machine.