Please refer to this blog post https://blog.golang.org/using-go-modules to
get to know why go modules are better than using GOPATH (primarly for not
messing with the import paths).
You are free to setup a local repository (localhost) by issuing the
following commands in your project directory o
Dnia 2021-02-16, o godz. 13:57:06
Peter Kleiweg napisaĆ(a):
> So why would you ever want to *not* set `GO111MODULE=auto` ?
>
Because GOPATH mode is gonna to be slayed soon.
It is better to use it less and less to avoid future disruption.
Hope this helps,
--
Wojciech S. Czarnecki
<< ^oo^ >>
On Tuesday, 16 February 2021 at 22:57:07 UTC+1 pkle...@xs4all.nl wrote:
> Also, you can't use local packages without a dot in the name.
>
I do this all the time.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and
Op dinsdag 16 februari 2021 om 21:40:52 UTC+1 schreef Ian Lance Taylor:
> On Tue, Feb 16, 2021 at 12:34 PM Peter Kleiweg wrote:
> >
> > `go get` is broken. It doesn't download packages.
>
> Tell us what you did, what you expected to happen, and what happened
> instead. Thanks.
>
> Note that