Created
August 23, 2023 05:49
-
-
Save IamNator/53c8dd8bf9518f2963129d1798f06c08 to your computer and use it in GitHub Desktop.
golang file/folder structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project_root | |
│ | |
└───cmd | |
│ │ main.go | |
│ | |
└───internal | |
│ │ | |
│ └───models | |
│ │ │ card.go | |
│ │ │ wallet.go | |
│ │ │ ... | |
│ │ | |
│ └───repositories | |
│ │ │ card_repository.go | |
│ │ │ wallet_repository.go | |
│ │ │ ... | |
│ │ | |
│ └───services | |
│ │ │ card_service.go | |
│ │ │ wallet_service.go | |
│ │ │ ... | |
│ │ | |
│ └───interfaces | |
│ │ card_repository_interface.go | |
│ │ wallet_repository_interface.go | |
│ │ ... | |
│ | |
└───api | |
│ │ handlers.go | |
│ │ routes.go | |
│ | |
└───config | |
│ │ config.go | |
│ | |
└───utils | |
│ │ ... | |
│ | |
└───scripts | |
│ │ ... | |
│ | |
└───tests | |
│ │ ... | |
│ | |
└───docs | |
│ │ ... | |
│ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment