> That's a lot of panic() calls, but I guess in examples and in test setup > that's fine. A call to GetToken becomes a lot easier the way you did it.
Right, I think that in the tests and in the example, the main goal is for the errors not to be silently ignored, hence the usage of "panic()".
Thanks for the review!
« Back to merge proposal
> That's a lot of panic() calls, but I guess in examples and in test setup
> that's fine. A call to GetToken becomes a lot easier the way you did it.
Right, I think that in the tests and in the example, the main goal is for the errors not to be silently ignored, hence the usage of "panic()".
Thanks for the review!