You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go: git.eframework.cn/go/EP.GO.UTIL@v1.2.0: unrecognized import path "git.eframework.cn/go/EP.GO.UTIL": https fetch: Get "https://git.eframework.cn/go/EP.GO.UTIL?go-get=1": dial tcp: lookup git.eframework.cn: no such host
but i can go get from add .git back url, can download but no work, because my package is not with .git
go get -v -x git.eframework.cn/go/EP.GO.UTIL.git@v1.2.0
go get -v -x git.eframework.cn/go/EP.GO.UTIL.git@v1.2.0
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
Go version
go version 1.23.1
Output of
go env
in your module/workspace:What did you do?
i want to pull a private repo, i set ~/.gitconfig:
[url "https://private_token@github.com/eframework-cn/"]
insteadOf = https://git.eframework.cn/go/
What did you see happen?
go get -v -x git.eframework.cn/go/EP.GO.UTIL@v1.2.0
get https://git.eframework.cn/go/EP.GO.UTIL?go-get=1
get https://git.eframework.cn/?go-get=1
get https://git.eframework.cn/go?go-get=1
get https://git.eframework.cn/go?go-get=1: Get "https://git.eframework.cn/go?go-get=1": dial tcp: lookup git.eframework.cn: no such host
get https://git.eframework.cn/go/EP.GO.UTIL?go-get=1: Get "https://git.eframework.cn/go/EP.GO.UTIL?go-get=1": dial tcp: lookup git.eframework.cn: no such host
get https://git.eframework.cn/?go-get=1: Get "https://git.eframework.cn/?go-get=1": dial tcp: lookup git.eframework.cn: no such host
get https://git.eframework.cn/?go-get=1
get https://git.eframework.cn/go/EP.GO.UTIL?go-get=1
get https://git.eframework.cn/go?go-get=1
get https://git.eframework.cn/go?go-get=1: Get "https://git.eframework.cn/go?go-get=1": dial tcp: lookup git.eframework.cn: no such host
get https://git.eframework.cn/?go-get=1: Get "https://git.eframework.cn/?go-get=1": dial tcp: lookup git.eframework.cn: no such host
get https://git.eframework.cn/go/EP.GO.UTIL?go-get=1: Get "https://git.eframework.cn/go/EP.GO.UTIL?go-get=1": dial tcp: lookup git.eframework.cn: no such host
go: git.eframework.cn/go/EP.GO.UTIL@v1.2.0: unrecognized import path "git.eframework.cn/go/EP.GO.UTIL": https fetch: Get "https://git.eframework.cn/go/EP.GO.UTIL?go-get=1": dial tcp: lookup git.eframework.cn: no such host
but i can go get from add .git back url, can download but no work, because my package is not with .git
go get -v -x git.eframework.cn/go/EP.GO.UTIL.git@v1.2.0
go get -v -x git.eframework.cn/go/EP.GO.UTIL.git@v1.2.0
get https://git.eframework.cn/?go-get=1
get https://git.eframework.cn/go?go-get=1
get https://git.eframework.cn/go?go-get=1: Get "https://git.eframework.cn/go?go-get=1": dial tcp: lookup git.eframework.cn: no such host
get https://git.eframework.cn/?go-get=1: Get "https://git.eframework.cn/?go-get=1": dial tcp: lookup git.eframework.cn: no such host
go: git.eframework.cn/go/EP.GO.UTIL.git@v1.2.0 found: parsing go.mod:
module declares its path as: git.eframework.cn/go/EP.GO.UTIL
but was required as: git.eframework.cn/go/EP.GO.UTIL.git
go: git.eframework.cn/go/EP.GO.UTIL.git@v1.2.0 requires git.eframework.cn/go/EP.GO.UTIL.git@v1.2.0: parsing go.mod:
module declares its path as: git.eframework.cn/go/EP.GO.UTIL
but was required as: git.eframework.cn/go/EP.GO.UTIL.git
What did you expect to see?
go get github.com/google/uuid@v1.3.1
go: downloading github.com/google/uuid v1.3.1
go: added github.com/google/uuid v1.3.1
The text was updated successfully, but these errors were encountered: