Skip to content

Golang best practise

June 20, 2021 | 08:00 PM

Project structure for API service

Follow the MVC design pattern, there are 3 main folders:

Note: [Controller] calls [Service(s)] who calls [repository(ies)]

Remaining folders:

Naming convention