Structuring an web app

project:
             /internal
             /src
                     /routs
                     /controller
                     /service
                     /database
                     /utils
            /pkg
            main.go
            go.mod
           .env
           .env.example
           Makefile

I am trying make a simple micro service for my learning purpose and the structure I have made is shown above. Any suggestion would be helpful. Thanks in advance.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.