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.

Home Page:https://gin-gonic.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go get failed: The requested name is valid, but no data of the requested type was found

carmel opened this issue · comments

Description

when use command go get github.com/gin-gonic/gin, it comes out :

go: downloading github.com/gabriel-vasile/mimetype v1.4.2
go: github.com/gin-gonic/gin imports
        github.com/gin-gonic/gin/binding imports
        github.com/go-playground/validator/v10 imports
        github.com/gabriel-vasile/mimetype: github.com/gabriel-vasile/mimetype@v1.4.2: Get "https://storage.googleapis.com/proxy-golang-org-prod/457f06b7fc0a8ec6-github.com:gabriel-vasile:mimetype-v1.4.2.zip?Expires=1708706661&GoogleAccessId=gcs-urlsigner-prod%40golang-modproxy.iam.gserviceaccount.com&Signature=oPLu5%2FnNab7g5UEI7yBHqSgUDozq66%2FDvKCkkS8%2BiCyDDwOKP140Cn70wM9JMj0k1e2PGruvA0OFkjA1YchV6almX4Ff%2FGz7iBxqK1tL%2BWI35dPXey5tsugItqeo2Ql%2FrRItPBdWOL8xMYOneat%2Bj%2Feo485iSnhZ6lKvTM1Xjwhb8uBfZHqecZUfUNlcLAi%2FpgWPQBYgYyjXEr8u9%2BEOq16USHszrOeva%2BRWnmngblPhAaToHRuKldzXD6DEi60yEI8UcxCgraia46MjFlSvW%2FQcA%2F2f%2BZ%2B2ngKdJ%2BHNinulxzRWcVZaYBpo2sYw5Ytw%2FL2LLvRhnKhxWz%2B82IaCvQ%3D%3D": dial tcp: lookup storage.googleapis.com: getaddrinfow: The requested name is valid, but no data of the requested type was found.

Environment

  • go version: go 1.22
  • gin version (or commit ref): latest
  • operating system: windows 11

This could be a network proxy problem

You can check your network Settings or switch the source