From 4244841bbb14b980f3a63f3d6049a1d670b2a7d5 Mon Sep 17 00:00:00 2001 From: jpts Date: Mon, 4 Sep 2023 22:36:43 +0100 Subject: [PATCH] minor: remove pkg/errors --- cmd/dns.go | 2 +- go.mod | 1 - go.sum | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/dns.go b/cmd/dns.go index f495e74..38dbfd0 100644 --- a/cmd/dns.go +++ b/cmd/dns.go @@ -1,6 +1,7 @@ package cmd import ( + "errors" "fmt" "net" "strconv" @@ -8,7 +9,6 @@ import ( "time" "github.com/miekg/dns" - "github.com/pkg/errors" "github.com/rs/zerolog/log" ) diff --git a/go.mod b/go.mod index 68f3678..761a160 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,6 @@ require ( github.com/apparentlymart/go-cidr v1.1.0 github.com/miekg/dns v1.1.53 github.com/olekukonko/tablewriter v0.0.5 - github.com/pkg/errors v0.9.1 github.com/rs/zerolog v1.29.0 github.com/spf13/cobra v1.6.1 ) diff --git a/go.sum b/go.sum index 3a3e568..8a7af01 100644 --- a/go.sum +++ b/go.sum @@ -18,7 +18,6 @@ github.com/miekg/dns v1.1.53 h1:ZBkuHr5dxHtB1caEOlZTLPo7D3L3TWckgUUs/RHfDxw= github.com/miekg/dns v1.1.53/go.mod h1:uInx36IzPl7FYnDcMeVWxj9byh7DutNykX4G9Sj60FY= github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= github.com/rs/zerolog v1.29.0 h1:Zes4hju04hjbvkVkOhdl2HpZa+0PmVwigmo8XoORE5w=