- create main function
- create a domain user along with its proto file
- message name in proto cannot be the same as struct in todo
- run the genproto.sh file by running command
./genproto.sh . todo/todo.proto
- create the GetTodo function by adjusting the one in the todo_grpc file
- run the server
go run cmd/main.go
- open Postman
- click file -> new
- choose gRPC
- fill in the URL with your gRPC server address
- in the select method section, select import file. then select the proto file in your project (in this case, select todo.proto)
- click next, and import (if you don't want to rename API's title)
- select the method you want to call
- invoke