From 983fa8d389abc976f57e9b6c7474d3e701d80ab3 Mon Sep 17 00:00:00 2001 From: Daan Sprenkels Date: Sun, 25 Aug 2019 12:40:19 +0200 Subject: [PATCH] readme: Update errors dep to pkg/errors --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 131d7a1..d2e453d 100644 --- a/README.md +++ b/README.md @@ -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