6 ms·
IMHO they should either just adopt Dave Cheney's errors package (https://github.com/pkg/errors https://github.com/pkg/errors) into the standard library or leave
by voidlogic 7y ago
IMHO they should either just adopt Dave Cheney's errors package (https://github.com/pkg/errors https://github.com/pkg/errors) into the standard library or leave it as it is becoming the de-facto standard.
The parallel reddit thread seems to agree too:
https://www.reddit.com/r/golang/comments/biexq0/go_113_xerrors/ https://www.reddit.com/r/golang/comments/biexq0/go_113_xerro...
- lugg 7y agoBecause this isn't nodejs.