Issue in constraint.go #2244
Comments
I have the same question,how to deal with it? |
I have the same issues, resolved now? |
me too, any clue? |
how to deal |
求解决方案 plz |
I was able to get through this issue. My user name is pi, and my $GOPATH is /home/pi/go. git clone https://github.com/golang/dep.git I got an error: To resolve, this issue: Should be good now: |
Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks! |
Error while using go get of dep
go get -u github.com/golang/dep &
go get -u github.com/golang/dep/cmd/dep
Log:
go: golang.org/x/sys upgrade => v0.0.0-20200515095857-1151b9dac4a9
go: github.com/boltdb/bolt upgrade => v1.3.1
go: github.com/golang/protobuf upgrade => v1.4.2
go: google.golang.org/protobuf upgrade => v1.23.0
github.com/golang/dep/gps
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
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)
pkg\mod\github.com\golang\dep@v0.5.4\gps\constraint.go:149:4: undefined: semver.Constraint
Alternatively, Curl also gives the below error:
$ curl https://raw.githubusercontent.com/golang/dep/master/install.sh|sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:01:24 --:--:-- 0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Timed out
The text was updated successfully, but these errors were encountered: