On Sun, Jan 20, 2019 at 11:20 AM Tycho Andersen wrote:
> On Sun, Jan 20, 2019 at 11:18:38AM -0800, Jinwoo Lee wrote:
> > It looks like "go build ./cmd/..." works when there's only one directory
> > under cmd. When there are multiple directories there, the co
On Sun, Jan 20, 2019 at 11:33 AM Jan Mercl <0xj...@gmail.com> wrote:
>
>
>
> On Sun, Jan 20, 2019 at 8:22 PM Jinwoo Lee wrote:
>
> > It looks like "go build ./cmd/..." works when there's only one directory
> under cmd. When there are multiple director
It looks like "go build ./cmd/..." works when there's only one directory
under cmd. When there are multiple directories there, the command doesn't
generate any binaries for me.
I would just do
$ go build ./cmd/foo
$ go build ./cmd/bar
They create binaries in the current directory so you don't ev