# Gin Web Framework Guidelines

> Objective: Define standards for building fast, maintainable, and secure APIs with the Gin web framework in Go, covering project structure, routing, middleware, error handling, security, and testing.

::: tip Source File
View the full rule: [`.agent/rules/gin.md`](https://github.com/snowdreamtech/template/blob/main/.agent/rules/gin.md)
:::

## Sections

- 1. Project Structure
- 1. Routing & Handlers
- 1. Middleware
- 1. Error Handling & Security
- 1. Performance, Testing & Observability
