I am working in a microservice architecture ( my first one ), in Golang, and I find myself duplicating Models definition over several services.
What can I do to avoid this?
I can only think to implementing a shared library with all my model definitions but I can't evaluate pros and cons. Can you tell me about other ways to solve this issue?