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

Lines changed: 5 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

domain/templates/imports.tmpl

Lines changed: 1 addition & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 2 deletions
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)