cmd/go: go mod does support directory packages #28716
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I want to replace the pkg:
golang.org/x/crypto/acme/autocert
togithub.com/golang/crypto/acme/autocert
this is my go.mod file
but It was wrong!
it does
t replace
golang.orgto
github.com`What did you expect to see?
I want to see download from github.com
What did you see instead?
https fetch failed: Get https://golang.org/x?go-get=1: dial tcp 216.239.37.1:443: i/o timeout
Fetching https://golang.org?go-get=1
How should I write the go.mod file correct ?
The text was updated successfully, but these errors were encountered: