Skip to content

Commit b6a39c6

Browse files
committed
chore(deps): remove deprecated pkg/errors
Signed-off-by: andig <[email protected]>
1 parent dd6f6f1 commit b6a39c6

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

domain/client.gen.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

domain/templates/imports.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
"encoding/base64"
1111
"encoding/json"
1212
"encoding/xml"
13+
"errors"
1314
"fmt"
1415
"gopkg.in/yaml.v3"
1516
"io"
@@ -26,7 +27,6 @@ import (
2627
"github.com/getkin/kin-openapi/openapi3"
2728
"github.com/go-chi/chi/v5"
2829
"github.com/labstack/echo/v4"
29-
"github.com/pkg/errors"
3030
{{- range .ExternalImports}}
3131
{{ . }}
3232
{{- end}}

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ go 1.17
55
require (
66
github.com/deepmap/oapi-codegen v1.8.2
77
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839
8-
github.com/pkg/errors v0.9.1
98
github.com/stretchr/testify v1.8.0 // test dependency
109
golang.org/x/net v0.7.0
1110
gopkg.in/yaml.v3 v3.0.1 // indirect
1211
)
1312

1413
require (
1514
github.com/davecgh/go-spew v1.1.1 // indirect
15+
github.com/pkg/errors v0.8.1 // indirect
1616
github.com/pmezard/go-difflib v1.0.0 // indirect
1717
)

go.sum

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope
3030
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
3131
github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ=
3232
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
33+
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
3334
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
34-
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
35-
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
3635
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
3736
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
3837
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=

0 commit comments

Comments
 (0)