Files
main/rules-v0/htmx-go-fiber-cursorrules-prompt-file/htmx-go-and-fiber-best-practices-general.mdc
2025-02-27 00:04:07 +05:30

10 lines
465 B
Plaintext

---
description: Applies general best practices for HTMX, Go, and Fiber development to Go files. Focuses on Fiber framework usage.
globs: **/*.go
---
- Use Fiber's HTML rendering for server-side templates
- Implement Fiber's routing system for HTMX requests
- Utilize Fiber's middleware for request processing
- Use Fiber's JSON methods for API responses
- Implement proper error handling with Fiber's error handling
- Utilize Fiber's static file serving for assets