$ cd $GOPATH/src/github.com/yurishkuro/opentracing-tutorial/go
$ make install
......
/home/hzy/go/pkg/mod/github.com/golang/dep@v0.5.4/gps/constraint.go:103:21: cannot use sv (type *semver.Version) as type semver.Version in field value
/home/hzy/go/pkg/mod/github.com/golang/dep@v0.5.4/gps/constraint.go:122:16: invalid type assertion: c.(semver.Version) (non-interface type *semver.Constraints on left)
/home/hzy/go/pkg/mod/github.com/golang/dep@v0.5.4/gps/constraint.go:149:4: undefined: semver.Constraint
Makefile:3: recipe for target 'install' failed
make: *** [install] Error 2
Resolved.
I download dep binary from github.com/golang directly
curl -L https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -o $GOPATH/bin/dep