Are you using Go 1.13? Version validation is done as part of Go 1.13 (
https://golang.org/doc/go1.13#modules). In Go 1.12, this would have 
succeeded.

However, if a goproxy has this version, then a go get will be successful. 
Example: https://search.gocenter.io/github.com~2Fbilibili~2Fkratos/info

You can set GOPROXY to https://gocenter.io to be unblocked but would 
encourage you to follow up with the module author to get their dependencies 
fixed.


On Friday, September 27, 2019 at 12:24:09 AM UTC-7, Darren Hoo wrote:
>
> Try to get this package:
>
> $ go get -u github.com/bilibili/kratos/tool/kratos
>  
>
>> go: finding github.com/bilibili/kratos v0.2.3
>> go: downloading github.com/bilibili/kratos v0.2.3
>> go: extracting github.com/bilibili/kratos v0.2.3
>> go get: github.com/bilibili/kratos@v0.2.3 requires
>> golang.org/x/time@v0.0.0-20190513212739-9d24e82272b4: invalid 
>> pseudo-version: does not match version-control timestamp 
>> (2019-03-08T20:28:27Z)
>
>
> it reports  
>
> golang.org/x/time@v0.0.0-20190513212739-9d24e82272b4: invalid 
>> pseudo-version: does not match version-control timestamp 
>> (2019-03-08T20:28:27Z)
>
>
> go get trying to access this url: 
> https://proxy.golang.org/golang.org/x/time/@v/v0.0.0-20190513212739-9d24e82272b4.mod
>   
>  
>
> it returns
>
> *not found: golang.org/x/time@v0.0.0-20190513212739-9d24e82272b4 
>> <http://golang.org/x/time@v0.0.0-20190513212739-9d24e82272b4>: invalid 
>> pseudo-version: does not match version-control timestamp 
>> (2019-03-08T20:28:27Z)*
>
>
> While both (replace proxy.golang.org with goproxy.io or goproxy.cn)
>
>
> https://goproxy.io/golang.org/x/time/@v/v0.0.0-20190513212739-9d24e82272b4.mod
>   
>  
>
> https://goproxy.cn/golang.org/x/time/@v/v0.0.0-20190513212739-9d24e82272b4.mod
>   
>  
>
> returns OK with: 
>
> *module golang.org/x/time <http://golang.org/x/time>*
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/644e4a4a-0ed0-4b4e-98b7-99d8b01e2bb1%40googlegroups.com.

Reply via email to