Hi Shulhan, > https://golang.org/ref/mod#mod-commands > > If you run the "go get" command on directory that does not contains "go.mod" > file, its basically equal to "GO111MODULE=off go get", without module > aware. > > Where do you get the above commands?
I made them up. > rsc.io/quote is an example of > repository to explain of how Go module works and not works if run without Go > module-aware. > > https://github.com/golang/go/issues/26367 So `GO111MODULE=auto go get <pkg>` should work for any other packages except rsc.io/quote? -- Regards, Peng -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CABrM6wnCpiPOH%3DmS%2B5GcLLUJkwO3D8W8UswUFi-QMOv%3DhCNYQw%40mail.gmail.com.