6 lines
298 B
Plaintext
6 lines
298 B
Plaintext
---
|
|
description: This rule ensures proper error handling, status codes, and JSON response formatting in Go API development.
|
|
globs: /*/**/*_api.go
|
|
---
|
|
- Implement proper error handling, including custom error types when beneficial.
|
|
- Use appropriate status codes and format JSON responses correctly. |