This is the first dump of the 50+ panic() fixes that @koshchei is working on --- see #24. Let us know whether you'd prefer appending commits to this PR, or if we should send a separate PR for each set. He'll be working on it over the weekend and should be done with all of them by Monday or Tuesday.
We're also converting top-level fmt.Printf(); os.Exit(1) sequences in the examples into log.Fatalf() as we go.
This is the first dump of the 50+ panic() fixes that @koshchei is working on --- see #24. Let us know whether you'd prefer appending commits to this PR, or if we should send a separate PR for each set. He'll be working on it over the weekend and should be done with all of them by Monday or Tuesday.
We're also converting top-level fmt.Printf(); os.Exit(1) sequences in the examples into log.Fatalf() as we go.