Hi Benny, > if I understand correctly, the plan with versioned packages and modules is to > deprecate the vendor folder and GOPATH some time after Go 1.11.
That is true of GOPATH; the case is less clear-cut with vendor. See also the discussion about vendor as part of: https://github.com/golang/go/issues/26852 > Now it is possible to have own shared packages that aren't hosted anywhere, > just sitting on the harddrive inside GOPATH or the vendor directory. This > also allows to have modified forks of a third party package and trick the Go > tool to treat it like the original. > > Where am I supposed to store such local packages and forks without using > GOPATH or vendor directories? Using a replace directive you can either host on some remote VCS or have them locally in some directory. The local directory can be wherever you like. For more details see 'go help mod edit' Thanks, Paul Paul -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
