- Rename
pb/math.proto
topb/<myservice>svc.proto
- Update
pb/<myservice>svc.proto
- Update proto file name in
pb/compile.sh
- Run
pb/compile.sh
to generatepb/<my_service>.pb.go
- Add new methods to
Service
interface inservice/api.go
and implementations inservice
struct - Add new endpoint in
endpoints/endpoints.go
- Add new transport handler in
transports/grpc.go