readme: Update errors dep to pkg/errors

This commit is contained in:
Daan Sprenkels 2019-08-25 12:40:19 +02:00
parent 827dc1d403
commit 983fa8d389
1 changed files with 2 additions and 4 deletions

View File

@ -10,11 +10,9 @@ are the exceptions:
- `github.com/gorilla/mux` provides useful stuff for routing requests.
- `github.com/gorilla/sessions` for session management.
- `go.etcd.io/bbolt` is our database driver.
- `github.com/joomcode/errorx` provides a [`Decorate`] function. This dependency
will be dropped when [`errors.Wrap`] is properly supported.
- `github.com/pkg/errors` provides a [`Wrap`] function.
[`Decorate`]: https://godoc.org/github.com/joomcode/errorx#Decorate
[`errors.Wrap`]: https://godoc.org/github.com/pkg/errors#Wrap
[`Wrap`]: https://godoc.org/github.com/pkg/errors#Wrap
## Database