mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-15 18:56:59 +00:00
[GITEA] Use existing error functionality
- There's no need to use `github.com/pkg/errors` when the standard library already has the functionality to wrap and create errors. (cherry picked from commit40f603a538
) (cherry picked from commitaa68a2753f
) (cherry picked from commit48e252d739
) (cherry picked from commitcc6f40ccd2
) (cherry picked from commit03c4b97358
) (cherry picked from commitf25eeb7695
) (cherry picked from commit989d8fa1cb
) (cherry picked from commit10e890ed8e
) (cherry picked from commit581519389d
) (cherry picked from commit03d00b11ac
) (cherry picked from commit04e6c853d4
) Conflicts: go.mod https://codeberg.org/forgejo/forgejo/pulls/2249 (cherry picked from commit2c4c29f7bc
)
This commit is contained in:
parent
62f866de99
commit
295cd6be94
2 changed files with 11 additions and 10 deletions
2
go.mod
2
go.mod
|
@ -82,7 +82,6 @@ require (
|
|||
github.com/olivere/elastic/v7 v7.0.32
|
||||
github.com/opencontainers/go-digest v1.0.0
|
||||
github.com/opencontainers/image-spec v1.1.0-rc6
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/pquerna/otp v1.4.0
|
||||
github.com/prometheus/client_golang v1.18.0
|
||||
github.com/quasoft/websspi v1.1.2
|
||||
|
@ -243,6 +242,7 @@ require (
|
|||
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
|
||||
github.com/pierrec/lz4/v4 v4.1.21 // indirect
|
||||
github.com/pjbgf/sha1cd v0.3.0 // indirect
|
||||
github.com/pkg/errors v0.9.1 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
||||
github.com/prometheus/client_model v0.5.0 // indirect
|
||||
github.com/prometheus/common v0.46.0 // indirect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue