Skip to content

Commit 5edaf2b

Browse files
podhmoBenji Rewis
andauthored
GODRIVER-2656 Remove pkg/errors dependency. (#1130)
Co-authored-by: Benji Rewis <[email protected]>
1 parent d23dec4 commit 5edaf2b

File tree

14 files changed

+2
-702
lines changed

14 files changed

+2
-702
lines changed

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ require (
2020
github.com/klauspost/compress v1.13.6
2121
github.com/kr/pretty v0.1.0
2222
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe
23-
github.com/pkg/errors v0.9.1
2423
github.com/stretchr/testify v1.6.1
2524
github.com/tidwall/pretty v1.0.0
2625
github.com/xdg-go/scram v1.1.1

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
1414
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
1515
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe h1:iruDEfMl2E6fbMZ9s0scYfZQ84/6SPL6zC8ACM2oIL0=
1616
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc=
17-
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
18-
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
1917
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
2018
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2119
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=

mongo/client_encryption.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ package mongo
88

99
import (
1010
"context"
11+
"errors"
1112
"fmt"
1213
"strings"
1314

14-
"github.com/pkg/errors"
1515
"go.mongodb.org/mongo-driver/bson"
1616
"go.mongodb.org/mongo-driver/bson/primitive"
1717
"go.mongodb.org/mongo-driver/mongo/options"

mongo/integration/mtest/opmsg_deployment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ package mtest
88

99
import (
1010
"context"
11+
"errors"
1112

12-
"github.com/pkg/errors"
1313
"go.mongodb.org/mongo-driver/bson"
1414
"go.mongodb.org/mongo-driver/internal"
1515
"go.mongodb.org/mongo-driver/mongo/address"

vendor/github.com/pkg/errors/.gitignore

Lines changed: 0 additions & 24 deletions
This file was deleted.

vendor/github.com/pkg/errors/.travis.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

vendor/github.com/pkg/errors/LICENSE

Lines changed: 0 additions & 23 deletions
This file was deleted.

vendor/github.com/pkg/errors/Makefile

Lines changed: 0 additions & 44 deletions
This file was deleted.

vendor/github.com/pkg/errors/README.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

vendor/github.com/pkg/errors/appveyor.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)