[go-nuts] Re: Go eval the source

2017-07-25 Thread Nathan Kerr
I wrote an expanded explanation for the second option: Exploring alternatives with go run . On Saturday, July 22, 2017 at 4:13:27 PM UTC+2, Tong Sun wrote: > > Fabulous! Thanks Nathan! > > On Saturday, July 22, 2017 at 1:41:12 AM UTC

[go-nuts] Re: Go eval the source

2017-07-22 Thread Tong Sun
Fabulous! Thanks Nathan! On Saturday, July 22, 2017 at 1:41:12 AM UTC-4, Nathan Kerr wrote: > > A couple other options: > > 1. modify your code, compile, run > 2. put most of your code in main.go, each specific sort method in a > separate file (e.g., specific.go) so that go run main.go specific.g

[go-nuts] Re: Go eval the source

2017-07-21 Thread Nathan Kerr
A couple other options: 1. modify your code, compile, run 2. put most of your code in main.go, each specific sort method in a separate file (e.g., specific.go) so that go run main.go specific.go will use the sorting you need. See https://pocketgophers.com/10-to-instrument/ for an example of thi