[go-nuts] Re: With Go modules, is that possible to reference a package which hasn't gotten a module support

2019-07-10 Thread Tamás Gulácsi
2019. július 10., szerda 11:00:48 UTC+2 időpontban Roman Gomoliako a következőt írta: > > thepudds, > > Thank you for the reply, thanks for the link! > > The follow-up question, what if the project isn't hosted anywhere yet? > Like, I have a module-opted package and it tries to use a local >

[go-nuts] Re: With Go modules, is that possible to reference a package which hasn't gotten a module support

2019-07-10 Thread Roman Gomoliako
thepudds, Thank you for the reply, thanks for the link! The follow-up question, what if the project isn't hosted anywhere yet? Like, I have a module-opted package and it tries to use a local module-unaware package. For a local module-aware package usage one would use `replace` declaration.

[go-nuts] Re: With Go modules, is that possible to reference a package which hasn't gotten a module support

2019-07-09 Thread t hepudds
Hi Roman, > For a project considering switching to Go modules, is that possible to > reference a package without support of modules (doesn't have a go.mod/go.sum files)? Yes, as far I understand, that should usually work. Using your example of wanting to consume a non-module dependency