-- Install cmd : go install github.com/cosmtrek/air@latest
-- Documentation Structure Project go-swagger-api/ ├── .air.toml ├── main.go ├── controllers/ │ └── book_controller.go ├── models/ │ └── book.go ├── routes/ │ └── book_routes.go └── docs/ └── ... (Swagger generated docs)
- Prerequisites
- Project Structure
- Setup and Installation
- Running the Application
- API Documentation
- Adding a New API Endpoint
- Go (version 1.16 or higher)
- Gin Framework
- Swaggo for Swagger integration
swag init air