github.com/pkg/errors
Go Modulesvv0.9.1Go module: github.com/pkg/errors
Not recommended for new projects
No — github.com/pkg/errors should not be adopted for new projects. Depended on by 17 known packages. Last published 2430 days ago. No license declared — you have no explicit right to use this code.
- CAdoption: grade C, Fair — worth a look.
Depended on by 17 known packages.
- FMaintenance: grade F, Failing.
Last published 2430 days ago.
- ?Weight: grade ?, Not reported by this registry.
No dependency or size data collected for this package yet.
- BSupply chain: grade B, Good.
This package lists no maintainer.
- FLicense: grade F, Failing.
No license declared — you have no explicit right to use this code.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding github.com/pkg/errors to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Longest resolved dependency chain below this package.
Compatibility
- Go
- No constraint declared
Used by
Popular packages that depend on github.com/pkg/errors.
Go module: github.com/rs/zerolog
Go module: github.com/google/trillian
Go module: github.com/jackc/pgx/v4
Go module: github.com/GoogleCloudPlatform/cloudsql-proxy
Go module: github.com/go-pdf/fpdf
Go module: buf.build/go/hyperpb
Go module: codeberg.org/go-pdf/fpdf
Go module: github.com/melbahja/goph
Go module: github.com/phpdave11/gofpdi
Go module: github.com/phpdave11/gofpdf
Go module: github.com/xitongsys/parquet-go-source
Go module: fyne.io/fyne
Go module: github.com/hashicorp/go-metrics
Go module: github.com/hashicorp/consul/sdk
Go module: github.com/hashicorp/go-metrics
Go module: github.com/kataras/iris/v12
Go module: github.com/dgraph-io/badger/v2
Relationship graph
Dependencies (left) and dependents (right) of github.com/pkg/errors.
Frequently installed together
Go module: golang.org/x/sys
Go module: google.golang.org/protobuf
Go module: github.com/cespare/xxhash/v2
Go module: github.com/stretchr/testify
Go module: golang.org/x/crypto
Go module: golang.org/x/text
Go module: golang.org/x/net
Go module: github.com/golang/protobuf
Go module: github.com/davecgh/go-spew
Go module: github.com/google/uuid
Go module: github.com/hashicorp/go-cleanhttp
Go module: github.com/mattn/go-colorable
Release history
No releases in the last two years, typically about 12 days apart.
| Version | Published | License |
|---|---|---|
| v0.9.1latest | 6 years ago | — |
| v0.9.0 | 6 years ago | — |
| v0.8.1 | 7 years ago | — |
| v0.8.0 | 10 years ago | — |
| v0.7.1 | 10 years ago | — |
| v0.7.0 | 10 years ago | — |
| v0.6.0 | 10 years ago | — |
| v0.5.1 | 10 years ago | — |
| v0.5.0 | 10 years ago | — |
| v0.4.0 | 10 years ago | — |
| v0.3.0 | 10 years ago | — |
| v0.2.0 | 10 years ago | — |
| v0.1.0 | 10 years ago | — |
Overview
github.com/pkg/errors is an Go Modules package that go module: github.com/pkg/errors. It has 17 known dependents in the graph. The latest version is v0.9.1.
Who should use it
Teams working in the Go Modules ecosystem who need go module: github.com/pkg/errors and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your Go Modules stack.
Pros
- Zero runtime dependencies — minimal footprint.
Cons
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use github.com/pkg/errors?
No — github.com/pkg/errors should not be adopted for new projects. Depended on by 17 known packages. Last published 2430 days ago. No license declared — you have no explicit right to use this code.
How do I install github.com/pkg/errors?
Run `go get github.com/pkg/errors` to add github.com/pkg/errors to your Go Modules project.
What license is github.com/pkg/errors released under?
No license was detected in github.com/pkg/errors's metadata; review the repository before use.
How popular is github.com/pkg/errors?
Go Modules does not publish download counts. Within PackageGraph's crawl, 17 known packages depend on github.com/pkg/errors.
Is github.com/pkg/errors still maintained?
The most recent release of github.com/pkg/errors (vv0.9.1) was published 6 years ago.