{"id":15048148,"url":"https://github.com/github/proto-gen-go","last_synced_at":"2025-10-19T22:32:49.631Z","repository":{"id":37541888,"uuid":"404041205","full_name":"github/proto-gen-go","owner":"github","description":"A 'go generate' script to generate Go files from .proto interfaces","archived":false,"fork":false,"pushed_at":"2025-01-31T20:01:11.000Z","size":36,"stargazers_count":23,"open_issues_count":1,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-31T21:18:20.875Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-07T16:04:15.000Z","updated_at":"2025-01-31T20:01:14.000Z","dependencies_parsed_at":"2025-01-24T16:26:14.861Z","dependency_job_id":"490a7d73-dd6f-4fbd-a7bd-7e432ad408d4","html_url":"https://github.com/github/proto-gen-go","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fproto-gen-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fproto-gen-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fproto-gen-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fproto-gen-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/proto-gen-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237224899,"owners_count":19275107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T21:08:45.789Z","updated_at":"2025-10-19T22:32:49.625Z","avatar_url":"https://github.com/github.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# proto-gen-go\n\n[![Docker](https://github.com/github/proto-gen-go/actions/workflows/docker.yaml/badge.svg)](https://github.com/github/proto-gen-go/actions/workflows/docker.yaml)\n\nThis tool is a thin wrapper around protoc, the protocol compiler. It\nmakes it easy to reliably generate and update Go definitions for\nmessages and services defined in .proto files. It uses a docker\ncontainer with explicitly versioned dependencies to ensure maximum\nreproducibility and minimum side effects.\n\nIn your Go project's proto directory, add a `gen.go` file with the following contents:\n\n```go\npackage proto\n//go:generate sh -c \"go run github.com/github/proto-gen-go@\u003cversion\u003e [flags] [--] [protoc flags] [proto files]\"\n```\n\n(The `go run module@version` command requires Go 1.23 or later.)\n\nNow, when you run `go generate` in your proto directory, the script\nwill re-run the protocol compiler on all .proto files, and generate go\nfiles into the obvious relative locations. Commit them along with your\nsource code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fproto-gen-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Fproto-gen-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fproto-gen-go/lists"}