Closed
Description
The stdlib special cased vendored golang_org/...
imports do not work in GOPATH mode on the go1.11 branch. In a module it all works. It also works in mainline with the recent Go 1.11 support (0210a2f).
package main
import (
"fmt"
_ "crypto/x509"
)
func main() {
fmt.Println("Hello World!")
}
In a module it works, but in GOPATH it gives:
cannot find package "golang_org/x/crypto/cryptobyte" in any of:
C:\Users\luser\sw\go\src\golang_org\x\crypto\cryptobyte (from $GOROOT)
C:\Users\luser\go\src\golang_org\x\crypto\cryptobyte (from $GOPATH)
The stdlib crypto/x509
imports a vendored golang_org/x/crypto/cryptobyte
.
Metadata
Metadata
Assignees
Labels
No labels