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

View File

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