- Mock the database by maintaining a list of user details in a variable.
- An endpoint to fetch user details based on user id.
- An endpoint to fetch a list of user details based on a list of ids.
- hello
protoc [protoc-installation]
[protoc-installation]https://grpc.io/docs/protoc-installation/
- Install the protocol compiler plugins for Go using the following commands:
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
$ export PATH="$PATH:$(go env GOPATH)/bin"