What You Can Do
Explore the different types of tasks you can accomplish with server files.
What You Can Do
- Fetch remote APIs
- Read local files (Markdown, JSON, etc.)
- Inject data into templates
- Parse query strings, headers, and request bodies
- Apply custom logic per route
Server files are plain Go - you’re not limited by framework-specific restrictions. Just import what you need and return structured data.