Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Wouldn't it be better if the application was following hexagonal architecture? #135

Open
lakshaytalkstomachines opened this issue Oct 4, 2020 · 2 comments

Comments

@lakshaytalkstomachines
Copy link

Whole Application seems to follow MVC Architecture which makes it difficult to port to other languages and/or frmaework, it is highly dependent on Gin. Maybe something like go-kit?

@mxschmitt
Copy link
Owner

Hi, it was one of my first bigger Go projects. I personally would probably archive it soon since it does not follow good Go best practices.

@lakshaytalkstomachines
Copy link
Author

oh can you direct some things over to me because i am learning go and would love some of the articles is that's not a problem.
Also there is one question i have been meaning to ask someone:
Say you need to get some of the data from data base, so you create a function in your service, but the things is the data that is required in the endpoint is not the data as same as the data in the database. So do you change the data in service layer or in transport layer?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants