Skip to content

Commit fd16abc

Browse files
andigbednar
andauthored
chore(deps): remove deprecated pkg/errors (#386)
* chore(deps): remove deprecated pkg/errors Signed-off-by: andig <[email protected]> * Add Changelog * docs: Update CHANGELOG.md * docs: Update CHANGELOG.md --------- Signed-off-by: andig <[email protected]> Co-authored-by: Jakub Bednář <[email protected]>
1 parent 2c80fa5 commit fd16abc

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## [unreleased]
22

3+
### Bug fixes
4+
5+
- [#386](https://github.com/influxdata/influxdb-client-go/pull/386) Remove deprecated pkg/errors
6+
- [#387](https://github.com/influxdata/influxdb-client-go/pull/387) Upgrade deepmap/oapi-codegen
7+
38
## 2.12.3 [2023-03-29]
49
### Bug fixes
510
- Update golang.org/x/net from 0.0.0-20210119194325-5f4716e94777 to 0.7.0

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
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go 1.17
55
require (
66
github.com/deepmap/oapi-codegen v1.12.4
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.1 // test dependency
109
golang.org/x/net v0.7.0
1110
)

go.sum

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+
1212
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 h1:W9WBk7wlPfJLvMCdtV4zPulc4uCPrlywQOmbFOhgQNU=
1313
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo=
1414
github.com/juju/gnuflag v0.0.0-20171113085948-2ce1bb71843d/go.mod h1:2PavIy+JPciBPrBUjwbNvtwB6RQlve+hkpll6QSNmOE=
15-
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
16-
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
1715
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
1816
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
1917
github.com/spkg/bom v0.0.0-20160624110644-59b7046e48ad/go.mod h1:qLr4V1qq6nMqFKkMo8ZTx3f+BZEkzsRUY10Xsm2mwU0=

0 commit comments

Comments
 (0)