{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/gomock/","markdown":"https://findsoftware.frbit.cloud/gomock.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"gomock","name":"gomock","urls":{"repository":"https://github.com/uber-go/mock","docs":"https://pkg.go.dev/go.uber.org/mock"},"category":["testing"],"description":"Mocking framework for Go that generates mock implementations of Go interfaces, with the mockgen tool.","maintainer":"Uber","firstRelease":2023,"hosting":null,"language":"go","runtime":["binary"],"runtimeMin":null,"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"renderingModes":null,"installMethod":"go install","licenseModel":"open-source","license":"Apache-2.0","currentMajor":"0","latestReleaseDate":"2025-08-18T00:00:00.000Z","githubStargazers":3429,"contributors":120,"packagistDownloads":null,"npmWeeklyDownloads":null,"checkedAt":"2026-11-09T00:00:00.000Z","addedAt":"2026-11-09T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/uber-go/mock","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"urls","url":"https://github.com/uber-go/mock/blob/main/README.md","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/uber-go/mock/blob/main/README.md","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/uber-go/mock","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"category","url":"https://github.com/uber-go/mock/blob/main/README.md","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"runtime","url":"https://github.com/uber-go/mock/blob/main/README.md","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/uber-go/mock/main/README.md","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"license","url":"https://api.github.com/repos/uber-go/mock","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/uber-go/mock/releases","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/uber-go/mock/releases","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/uber-go/mock/releases","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/uber-go/mock","checkedAt":"2026-11-09T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/uber-go/mock/contributors?per_page=1","checkedAt":"2026-11-09T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"gomock is a mocking framework for Go that generates mock implementations of Go interfaces. The `mockgen` tool takes a Go source file, a package archive or a package and writes the mock code, and the framework integrates with Go's built-in `testing` package. The project began as Google's `golang/mock` repository, which Google no longer maintains; Uber forked it and maintains the fork under the `go.uber.org/mock` module path.\n\n## Worth knowing\n\nThe [README](https://github.com/uber-go/mock/blob/main/README.md) says the module supports the Go versions that the official Go Release Policy supports, which is the two most recent releases."}