-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Milestone
Description
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/elvis/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/elvis/prog/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.10/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.10/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
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/wp/jlm6rvd11p35vsctx0czjxm80000gn/T/go-build585447605=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
I try to vgo get github.com/lelvisl/logger
What did you expect to see?
get logrus-logstash-hook version from go.mod version in github.com/lelvisl/logger
What did you see instead?
vgo get github.com/lelvisl/logger
vgo: extracting github.com/bshuster-repo/logrus-logstash-hook v0.4.1
# github.com/lelvisl/logger
../../../../v/github.com/lelvisl/[email protected]/logstash.go:17:10: undefined: logrustash.New
../../../../v/github.com/lelvisl/[email protected]/logstash.go:17:31: undefined: logrustash.DefaultFormatter