Re: [go-nuts] "go list"-independent way to get list of all packages in std

2018-08-02 Thread Dan Kortschak
Thanks, Ian. That makes sense now. It's irritating, but it makes sense. Relatedly, is there a way to get the output of `go list std` as though it were a JSON array. It looks to me like this is not possible, at least, not without all the other information from the documented struct. Dan On Wed, 2

Re: [go-nuts] "go list"-independent way to get list of all packages in std

2018-08-01 Thread Ian Lance Taylor
On Wed, Aug 1, 2018 at 11:42 AM, Manlio Perillo wrote: > Il giorno mercoledì 1 agosto 2018 20:36:28 UTC+2, Ian Lance Taylor ha > scritto: >> >> On Wed, Aug 1, 2018 at 11:16 AM, Manlio Perillo >> wrote: >> > Il giorno mercoledì 1 agosto 2018 19:23:04 UTC+2, Ian Lance Taylor ha >> > scritto: >> >>

Re: [go-nuts] "go list"-independent way to get list of all packages in std

2018-08-01 Thread Manlio Perillo
Il giorno mercoledì 1 agosto 2018 20:36:28 UTC+2, Ian Lance Taylor ha scritto: > > On Wed, Aug 1, 2018 at 11:16 AM, Manlio Perillo > > wrote: > > Il giorno mercoledì 1 agosto 2018 19:23:04 UTC+2, Ian Lance Taylor ha > > scritto: > >> > >> On Fri, Jul 27, 2018 at 9:33 PM, Dan Kortschak > >>

Re: [go-nuts] "go list"-independent way to get list of all packages in std

2018-08-01 Thread Ian Lance Taylor
On Wed, Aug 1, 2018 at 11:16 AM, Manlio Perillo wrote: > Il giorno mercoledì 1 agosto 2018 19:23:04 UTC+2, Ian Lance Taylor ha > scritto: >> >> On Fri, Jul 27, 2018 at 9:33 PM, Dan Kortschak >> wrote: >> > >> > That's fine. Though given that a program *can* shell out to `go list >> > std` to get

Re: [go-nuts] "go list"-independent way to get list of all packages in std

2018-08-01 Thread Manlio Perillo
Il giorno mercoledì 1 agosto 2018 19:23:04 UTC+2, Ian Lance Taylor ha scritto: > > On Fri, Jul 27, 2018 at 9:33 PM, Dan Kortschak > > wrote: > > > > That's fine. Though given that a program *can* shell out to `go list > > std` to get the list of std packages, it seems odd to me that there is

Re: [go-nuts] "go list"-independent way to get list of all packages in std

2018-08-01 Thread Ian Lance Taylor
On Fri, Jul 27, 2018 at 9:33 PM, Dan Kortschak wrote: > > That's fine. Though given that a program *can* shell out to `go list > std` to get the list of std packages, it seems odd to me that there is > not some way of doing that without need to exec a new process. You > explained it, but not in a