API

Go Project Structure: Practices & Patterns

Go Project Structure: Practices & Patterns

Structure your Go projects for scalability and clarity

Structuring a Go project effectively is fundamental to long-term maintainability, team collaboration, and scalability. Unlike frameworks that enforce rigid directory layouts, Go embraces flexibility—but with that freedom comes the responsibility to choose patterns that serve your project’s specific needs.

Using Ollama Web Search API in Python

Using Ollama Web Search API in Python

Build AI search agents with Python and Ollama

Ollama’s Python library now includes native OLlama web search capabilities. With just a few lines of code, you can augment your local LLMs with real-time information from the web, reducing hallucinations and improving accuracy.

Adding Swagger to Your Go API

Adding Swagger to Your Go API

Auto-generate OpenAPI docs from code annotations

API documentation is crucial for any modern application, and for Go APIs Swagger (OpenAPI) has become the industry standard. For Go developers, swaggo provides an elegant solution to generate comprehensive API documentation directly from code annotations.