{"id":16838501,"url":"https://github.com/zserge/protoc-gen-micro","last_synced_at":"2025-07-29T22:14:00.765Z","repository":{"id":57659983,"uuid":"125656574","full_name":"zserge/protoc-gen-micro","owner":"zserge","description":"Protobuf code generation for micro","archived":false,"fork":false,"pushed_at":"2018-03-17T19:08:55.000Z","size":37,"stargazers_count":3,"open_issues_count":0,"forks_count":98,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T11:36:00.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/zserge.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":null,"security":null,"support":null}},"created_at":"2018-03-17T18:11:31.000Z","updated_at":"2024-09-25T01:02:01.000Z","dependencies_parsed_at":"2022-09-09T14:21:46.164Z","dependency_job_id":null,"html_url":"https://github.com/zserge/protoc-gen-micro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zserge/protoc-gen-micro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zserge%2Fprotoc-gen-micro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zserge%2Fprotoc-gen-micro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zserge%2Fprotoc-gen-micro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zserge%2Fprotoc-gen-micro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zserge","download_url":"https://codeload.github.com/zserge/protoc-gen-micro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zserge%2Fprotoc-gen-micro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267771596,"owners_count":24142077,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-13T12:23:56.498Z","updated_at":"2025-07-29T22:14:00.722Z","avatar_url":"https://github.com/zserge.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# protoc-gen-micro\n\nThis is protobuf code generation for micro. We use protoc-gen-micro to reduce boilerplate code.\n\nWe previously maintained a [fork](https://github.com/micro/protobuf) of [golang/protobuf](https://github.com/golang/protobuf) \nto include the micro plugin but have since moved to protoc-gen-micro. \n\n## Install\n\n```\ngo get github.com/micro/protoc-gen-micro\n```\n\nAlso required: \n\n- [protoc](https://github.com/google/protobuf)\n- [protoc-gen-go](https://github.com/golang/protobuf)\n\n## Usage\n\nDefine your service as `greeter.proto`\n\n```\nsyntax = \"proto3\";\n\nservice Greeter {\n\trpc Hello(Request) returns (Response) {}\n}\n\nmessage Request {\n\tstring name = 1;\n}\n\nmessage Response {\n\tstring msg = 1;\n}\n```\n\nGenerate the code\n\n```\nprotoc --proto_path=$GOPATH/src:. --micro_out=. --go_out=. greeter.proto\n```\n\nYour output result should be:\n\n```\n./\n    greeter.proto\t# original protobuf file\n    greeter.pb.go\t# auto-generated by protoc-gen-go\n    greeter.micro.go\t# auto-generated by protoc-gen-micro\n```\n\nThe micro generated code includes clients and handlers which reduce boiler plate code\n\n## LICENSE\n\nprotoc-gen-micro is a liberal reuse of protoc-gen-go hence we maintain the original license \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzserge%2Fprotoc-gen-micro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzserge%2Fprotoc-gen-micro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzserge%2Fprotoc-gen-micro/lists"}