Open
Description
What version of Go are you using (go version
)?
$ go version go version go1.12.5 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env
)?
go env
Output
$ go env go env GOARCH="amd64" GOBIN="" GOCACHE="/Users/mj/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/mj/go" GOPROXY="" GORACE="" GOROOT="/usr/local/Cellar/go/1.12.5/libexec" GOTMPDIR="" GOTOOLDIR="/usr/local/Cellar/go/1.12.5/libexec/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" 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/xb/dsd0_2b92x7bsl92xlzj6fbm0000gn/T/go-build803671561=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
go get -u github.com/dfang/auth
What did you expect to see?
replace github.com/qor/auth => github.com/dfang/auth v0.0.0-20190621054412-96c274f7c597
just update/replace the hash with updated one in go.mod
What did you see instead?
the hash didn't change, but add one dependency on
require(
....
github.com/dfang/auth v-0.0.0-<hash>
.....
)
for now i have to copy hash in require
, delete the line, update the hash in replace
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Incoming