Re: [go-nuts] What exactly can be supplied as "packages" on the go build command line?

2022-02-10 Thread Kurtis Rader
See `go help packages` and https://go.dev/ref/spec#Packages. On Thu, Feb 10, 2022 at 9:01 AM David Karr wrote: > When I enter "go help build", the first few lines shows this: > > usage: go build [-o output] [build flags] [packages] > > Build compiles the packages named by the import paths,

Re: [go-nuts] What exactly can be supplied as "packages" on the go build command line?

2022-02-10 Thread Ian Lance Taylor
On Thu, Feb 10, 2022 at 9:01 AM David Karr wrote: > > When I enter "go help build", the first few lines shows this: > > usage: go build [-o output] [build flags] [packages] > > Build compiles the packages named by the import paths, > > The instructions say very little about what can be

[go-nuts] What exactly can be supplied as "packages" on the go build command line?

2022-02-10 Thread David Karr
When I enter "go help build", the first few lines shows this: usage: go build [-o output] [build flags] [packages] Build compiles the packages named by the import paths, The instructions say very little about what can be supplied as "packages". It says it can be a list of .go files, and