On Sun, Jan 20, 2019 at 8:22 PM Jinwoo Lee <jinwo...@gmail.com> wrote:

> 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.

It works on all sub directories. But `go build` puts the binary locally,
while `go install cmd/...` should put all the binaries on $GOBIN or
$GOPATH/bin if $GOBIN is not set.


-- 

-j

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to