Re: [go-nuts] how can I run a go program with arguments

2016-08-22 Thread Xiao Liang
It works Thanks 在 2016年8月23日星期二 UTC+8上午8:24:28,Shawn Milochik写道: > > Try: > > go run myprog.go -- dummy.go > > > -- 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

Re: [go-nuts] how can I run a go program with arguments

2016-08-22 Thread Shawn Milochik
Try: go run myprog.go -- dummy.go -- 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://grou

[go-nuts] how can I run a go program with arguments

2016-08-22 Thread Xiao Liang
I try run this go run myprog.go dummy.go in this case. the second go file actually is the argument what I want to pass to myprog.go. but GO is going to load dummy.go and tring to run. If I build myprog as a execute file. it's work fine. Does anyone help? Thanks -- You received this message