Skip to content

Latest commit

 

History

History
43 lines (43 loc) · 1.46 KB

structure.md

File metadata and controls

43 lines (43 loc) · 1.46 KB

golang-backend-api │ ├── cmd/ │ └── server/ │ └── main.go # Application entry point │ ├── internal/ │ ├── handler/ # Request handlers (controllers) │ │ ├── book.go │ │ ├── auth.go │ │ └── user.go │ │ │ ├── model/ # Data models │ │ ├── book.go │ │ ├── user.go │ │ └── log.go │ │ │ ├── middleware/ # Middlewares │ │ ├── authenticate.go │ │ ├── logging.go │ │ └── rate_limiting.go │ │ │ ├── repository/ # Database interactions │ │ ├── book.go │ │ ├── user.go │ │ └── log.go │ │ │ ├── util/ # Utility functions and helpers │ │ ├── jwt.go │ │ ├── email.go │ │ └── password.go │ │ │ └── migrations/ # Database migration scripts │ ├── 001_initial_setup.sql │ └── 002_add_new_feature.sql │ ├── pkg/ # Public libraries (if any) │ ├── scripts/ # Scripts for various purposes │ ├── go.mod # Go module file ├── go.sum # Go module checksum └── README.md # Project documentation