Pull request: * querylog: use the vanilla errors package

Merge in DNS/adguard-home from remove-pkg-errors to master

* commit '40ebccaab415f957c8234ad2c3a9615225ddae68':
  * querylog: use the vanilla errors package
This commit is contained in:
Ainar Garipov 2020-10-29 12:22:33 +03:00
commit da5c1ebbbf
2 changed files with 1 additions and 3 deletions

1
go.mod
View File

@ -18,7 +18,6 @@ require (
github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7 github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7
github.com/mdlayher/raw v0.0.0-20191009151244-50f2db8cc065 github.com/mdlayher/raw v0.0.0-20191009151244-50f2db8cc065
github.com/miekg/dns v1.1.31 github.com/miekg/dns v1.1.31
github.com/pkg/errors v0.9.1
github.com/satori/go.uuid v1.2.0 github.com/satori/go.uuid v1.2.0
github.com/sirupsen/logrus v1.6.0 // indirect github.com/sirupsen/logrus v1.6.0 // indirect
github.com/sparrc/go-ping v0.0.0-20190613174326-4e5b6552494c github.com/sparrc/go-ping v0.0.0-20190613174326-4e5b6552494c

View File

@ -1,14 +1,13 @@
package querylog package querylog
import ( import (
"errors"
"io" "io"
"os" "os"
"sync" "sync"
"time" "time"
"github.com/AdguardTeam/golibs/log" "github.com/AdguardTeam/golibs/log"
"github.com/pkg/errors"
) )
// ErrSeekNotFound is returned from the Seek method // ErrSeekNotFound is returned from the Seek method