gin-gonic / gin

Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
https://gin-gonic.com/
MIT License
77.95k stars 7.97k forks source link

unexpected EOF during install #3837

Open kharabela opened 7 months ago

kharabela commented 7 months ago

Description

C:\Users\m.kharabela.rout\go\pkg\mod\github.com\go-playground\validator\v10@v10.14.0\baked_in.go:25:2: github.com/gabriel-vasile/mimetype@v1.4.2: read "https:/proxy.golang.org/@v/v1.4.2.zip": unexpected EOF

How to reproduce

go install "github.com/gin-gonic/gin@latest"

Environment

RedCrazyGhost commented 7 months ago

go mod get pkg is the latest version, do not need to carry the @latest suffix, if you want to specify the version, please specify the specific version number, such as the latest version v1.9.1

// this  is latest verison
$ go get -u github.com/gin-gonic/gin

$ go get -u github.com/gin-gonic/gin@v1.9.1