trento icon indicating copy to clipboard operation
trento copied to clipboard

Extract the web api code to an independent package

Open arbulu89 opened this issue 3 years ago • 0 comments

Right now, the web api code belongs to the web package. In order to have a more structured code, we could extract this logic to an additional package, which would have its own json models, etc

This is not an easy work, as the golang package structure is not an easy thing, Specially, because you need to avoid the cyclical import inferno, which is a pretty normal thing if you don't abstract all of your models and entities properly.

arbulu89 avatar Oct 29 '21 13:10 arbulu89