Re: [go-nuts] Bizarre Error Message (Go 1.9.2)

2017-11-06 Thread Karan Chaudhary
> > `go run` takes multiple files as arguments. > Interesting. Didn't know this was possible. Until now i used to fallback to using go build if code was distributed over multiple files. (When i'm testing some case which includes few files) -- You received this message because you are subs

Re: [go-nuts] Bizarre Error Message (Go 1.9.2)

2017-11-02 Thread Raffaele Sena
Or you use the "standard" unix trick: go run ls.go -- ls.go On Thu, Nov 2, 2017 at 1:55 PM, Ian Lance Taylor wrote: > On Thu, Nov 2, 2017 at 10:37 AM, Jon Forrest wrote: > > > > I'm learning Go. Whenever I learn a new programming language I like to > try > > to recreate the Unix 'ls' command

Re: [go-nuts] Bizarre Error Message (Go 1.9.2)

2017-11-02 Thread Ian Lance Taylor
On Thu, Nov 2, 2017 at 10:37 AM, Jon Forrest wrote: > > I'm learning Go. Whenever I learn a new programming language I like to try > to recreate the Unix 'ls' command > in that language. I've found that such an exercise is often a good way to > get familiar with what a language offers. > > Here's