I am planning to create micro service. I have following questions
1 should I use gin frame work for micro service or grpc
2 if I build micro service it will be deployed on multiple port
3 how to maintain single database transaction for multiple micro service
Gin is an extra layer (framework) and gRPC is a protocol. AFIAK you can use whatever protocol using whatever framework (or vanilla Go) you want. The most common protocols are REST and gRPC
One micro service per port.
A single database transaction (commit - rollback) across multiple micro services? May be a challenge. IDK.