[gRPC #10.1] Implement unary gRPC API - Golang

Опубликовано: 16 Март 2026
на канале: TECH SCHOOL
20,934
309

In this lecture, we will learn how to implement unary gRPC request in Go, write unit test for it, handle errors, deadline, and status codes.
Attention: In the code, we saved the protobuf laptop object directly to the store, but be careful if you choose to do so in production because it will tight-couple the data-transfer model with the data-store model.

View all videos of the complete gRPC course in this playlist: http://bit.ly/grpccourse
Support us and get a certificate of completion by purchasing on Udemy: https://bit.ly/udemygrpc

---

Github repository:
Golang: https://github.com/techschool/pcbook-go
Java: https://github.com/techschool/pcbook-...

If you're using microservices architecture, you definitely want to try gRPC. It is super-fast, strongly-typed, and you no longer need to write a lot of boilerplate codes for inter-service communication. Thanks to awesome HTTP/2 and Protocol Buffer!

In this course, we will learn about gRPC and how to use it with Protocol Buffer to develop an application in Go and Java.

TECH SCHOOL - From noob to pro
   / techschoolguru  
At Tech School, we believe that everyone deserves a good and free education. We create high-quality courses and tutorials in Information Technology. If you like the videos, please feel free to share and subscribe to support the channel.

Credit:
Desktop wallpaper is a photo by Chris Greenhow on Unsplash: https://unsplash.com/photos/3FjIywswHSk