Re: [go-nuts] how to deal with absent go.mod file in tool package when GO111MODULE=on

2019-03-04 Thread Dan Kortschak
Thanks, though I don't think that will help us for our specific problem. gobin does not compile for https://github.com/golang/go/commit/65c2069a9f30cb6fa2c512d17dc0ad65 4d621da9 On Mon, 2019-03-04 at 14:13 +, roger peppe wrote: > It's not a standard tool, but you could use github.com/myitc

Re: [go-nuts] how to deal with absent go.mod file in tool package when GO111MODULE=on

2019-03-04 Thread roger peppe
It's not a standard tool, but you could use github.com/myitcv/gobin. On Sun, 3 Mar 2019 at 20:56, Dan Kortschak wrote: > As part of our testing we need to install a tool that currently does > not have go.mod/go.sum files. Since we test on Go versions both with > and without module support and w

[go-nuts] how to deal with absent go.mod file in tool package when GO111MODULE=on

2019-03-03 Thread Dan Kortschak
As part of our testing we need to install a tool that currently does not have go.mod/go.sum files. Since we test on Go versions both with and without module support and want to test using modules on the versions that have module support we need to use an approach that works in both of those situati