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
| yourapp/ | |
| ├─ cmd/ | |
| │ └─ api/ | |
| │ └─ main.go # ENTRYPOINT: load config, init db, init router, run | |
| │ | |
| ├─ internal/ | |
| │ ├─ config/ # (punyamu: config) → taruh config loader/env | |
| │ │ ├─ config.go | |
| │ │ └─ database.go # optional (pisah DSN/db options) | |
| │ │ |