From 40ebccaab415f957c8234ad2c3a9615225ddae68 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Wed, 28 Oct 2020 19:34:29 +0300 Subject: [PATCH] * querylog: use the vanilla errors package --- go.mod | 1 - querylog/qlog_file.go | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 01545e0d..c5999fb6 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,6 @@ require ( github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7 github.com/mdlayher/raw v0.0.0-20191009151244-50f2db8cc065 github.com/miekg/dns v1.1.31 - github.com/pkg/errors v0.9.1 github.com/satori/go.uuid v1.2.0 github.com/sirupsen/logrus v1.6.0 // indirect github.com/sparrc/go-ping v0.0.0-20190613174326-4e5b6552494c diff --git a/querylog/qlog_file.go b/querylog/qlog_file.go index 8005e430..fdc20242 100644 --- a/querylog/qlog_file.go +++ b/querylog/qlog_file.go @@ -1,14 +1,13 @@ package querylog import ( + "errors" "io" "os" "sync" "time" "github.com/AdguardTeam/golibs/log" - - "github.com/pkg/errors" ) // ErrSeekNotFound is returned from the Seek method