go-errors / errors

errors with stacktraces for go
https://godoc.org/github.com/go-errors/errors
MIT License
921 stars 93 forks source link

Add functions Join and Unwrap #43

Closed lovromazgon closed 1 year ago

lovromazgon commented 1 year ago

This PR adds functions Join and Unwrap. In go1.13+ it delegates the implementations to the stdlib, in older versions the current stdlib implementations are copied over into this library.

It also cleans up the comments on some of the functions and runs gofmt which adds the updated build constraints.

Closes #42.

ConradIrwin commented 1 year ago

Thanks!