{"id":23492826,"url":"https://github.com/raihanlh/go-grpc-example","last_synced_at":"2025-09-05T18:48:57.204Z","repository":{"id":68890387,"uuid":"442511050","full_name":"raihanlh/go-grpc-example","owner":"raihanlh","description":"Beginner tutorial for creating gRPC server and client using the latest version of protoc-gen-go to date (Dec 28 2021). Created because some tutorials are outdated.","archived":false,"fork":false,"pushed_at":"2021-12-28T15:57:37.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T02:46:01.090Z","etag":null,"topics":["golang","grpc","grpc-go"],"latest_commit_sha":null,"homepage":"","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/raihanlh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-28T15:51:10.000Z","updated_at":"2021-12-28T15:57:39.000Z","dependencies_parsed_at":"2023-09-14T12:01:33.040Z","dependency_job_id":null,"html_url":"https://github.com/raihanlh/go-grpc-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihanlh%2Fgo-grpc-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihanlh%2Fgo-grpc-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihanlh%2Fgo-grpc-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihanlh%2Fgo-grpc-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raihanlh","download_url":"https://codeload.github.com/raihanlh/go-grpc-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997087,"owners_count":21195797,"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":["golang","grpc","grpc-go"],"created_at":"2024-12-25T02:14:47.835Z","updated_at":"2025-04-15T02:46:04.751Z","avatar_url":"https://github.com/raihanlh.png","language":"Go","readme":"## Introduction\nBeginner tutorial for creating gRPC server and client using the latest version of protoc-gen-go to date (Dec 28 2021). Created because some tutorials are outdated.\n\n## Install protoc\n\u003e go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26\n\u003e go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1\n\n# Add path to environment variable\n\u003e echo 'export GOPATH=$HOME/go' \u003e\u003e $HOME/.bashrc\n\u003e source $HOME/.bashrc\n\n\u003e echo 'export PATH=$PATH:$GOPATH/bin' \u003e\u003e $HOME/.bashrc\n\u003e source $HOME/.bashrc\n\n## Generate\n\u003e protoc --go_out=./chat --go_opt=paths=source_relative --go-grpc_out=./chat --go-grpc_opt=paths=source_relative ./chat.proto\n\n## Run\n\u003e go run server/server.go\n\u003e go run client/client.go\n\n## Reference\n- https://tutorialedge.net/golang/go-grpc-beginners-tutorial/\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraihanlh%2Fgo-grpc-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraihanlh%2Fgo-grpc-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraihanlh%2Fgo-grpc-example/lists"}