4 ms·
> having no stack for errors is insanely frustrating. Check out https://github.com/pkg/errors https://github.com/pkg/errors If you want more rich control of t
by jud_white 10y ago
> having no stack for errors is insanely frustrating.
Check out https://github.com/pkg/errors https://github.com/pkg/errors
If you want more rich control of the output of the stack trace there's https://github.com/go-stack/stack https://github.com/go-stack/stack
- dalyons 10y agoYeah, we've started using that. Kind of amazing that you need an addon lib & Wrap() everywhere to make errors useful. Just more boilerplate! :)