github.com/golang/mock
Go Modulesvv1.6.0Go module: github.com/golang/mock
Not recommended for new projects
No — github.com/golang/mock should not be adopted for new projects. Depended on by 6 known packages. Last published 1916 days ago. No license declared — you have no explicit right to use this code.
- CAdoption: grade C, Fair — worth a look.
Depended on by 6 known packages.
- FMaintenance: grade F, Failing.
Last published 1916 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/golang/mock 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/golang/mock.
Go module: github.com/google/certificate-transparency-go
Go module: github.com/google/trillian
Go module: cloud.google.com/go/spanner
Go module: cloud.google.com/go/profiler
Go module: github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp
Go module: github.com/xitongsys/parquet-go-source
Relationship graph
Dependencies (left) and dependents (right) of github.com/golang/mock.
Frequently installed together
Go module: go.opentelemetry.io/auto/sdk
Go module: go.opentelemetry.io/otel/metric
Go module: github.com/go-logr/logr
Go module: github.com/go-logr/stdr
Go module: github.com/google/go-cmp
Go module: go.opentelemetry.io/otel
Go module: google.golang.org/protobuf
Go module: golang.org/x/net
Go module: golang.org/x/text
Go module: golang.org/x/sys
Go module: github.com/google/uuid
Go module: go.opentelemetry.io/otel/trace
Release history
No releases in the last two years, typically about 134 days apart.
| Version | Published | License |
|---|---|---|
| v1.7.0-rc.1 | 4 years ago | — |
| v1.6.0latest | 5 years ago | — |
| v1.5.0 | 5 years ago | — |
| v1.4.4 | 6 years ago | — |
| v1.4.3 | 6 years ago | — |
| v1.4.2 | 6 years ago | — |
| v1.4.1 | 6 years ago | — |
| v1.4.0 | 6 years ago | — |
| v1.3.1 | 7 years ago | — |
| v1.3.0 | 7 years ago | — |
| v1.2.0 | 7 years ago | — |
| v1.1.1 | 8 years ago | — |
| v1.1.0 | 8 years ago | — |
| v1.0.1 | 8 years ago | — |
| v1.0.0 | 9 years ago | — |
Overview
github.com/golang/mock is an Go Modules package that go module: github.com/golang/mock. It has 6 known dependents in the graph. The latest version is v1.6.0.
Who should use it
Teams working in the Go Modules ecosystem who need go module: github.com/golang/mock 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/golang/mock?
No — github.com/golang/mock should not be adopted for new projects. Depended on by 6 known packages. Last published 1916 days ago. No license declared — you have no explicit right to use this code.
How do I install github.com/golang/mock?
Run `go get github.com/golang/mock` to add github.com/golang/mock to your Go Modules project.
What license is github.com/golang/mock released under?
No license was detected in github.com/golang/mock's metadata; review the repository before use.
How popular is github.com/golang/mock?
Go Modules does not publish download counts. Within PackageGraph's crawl, 6 known packages depend on github.com/golang/mock.
Is github.com/golang/mock still maintained?
The most recent release of github.com/golang/mock (vv1.6.0) was published 5 years ago.