Posts

Showing posts with the label golang

Circuit Breaker Pattern in Go: Stop Cascading Failures

Implement the circuit breaker pattern in Go with gobreaker, context timeouts, retries, fallbacks, and production-ready configuration for microservices. Circuit Breaker Pattern in Go: Stop Cascading Failures

Slack Integration Patterns for Alerts and Workflows

Deep dive on Slack webhooks and apps for alerts, approvals, and workflow automation. Block Kit buttons, signature verification, Go and Python examples. Slack Integration Patterns for Alerts and Workflows

Practical, minimal examples for working with Ollama in real applications.

Practical Ollama examples in Go & Python, including structured output, Docker, and reverse proxy setups. Practical, minimal examples for working with Ollama in real applications.

Implementing Ollama client applications in Go

Ollama API is a powerful tool designed to facilitate the development and deployment of large language models (LLMs) by providing a robust set of features and efficient model serving capabilities. As of 2025, Ollama supports multiple LLMs , including the latest versions of models such as Google’s FunctionGemma , Nemotron 3 Nano , Olmo 3 , and Devstral-Small-2 . This versatility allows developers to choose the most suitable model for their specific use cases, whether it be for code generation, natural language processing, or other specialized tasks. -- Building LLM applications with Go using the Ollama API enables scalable, efficient deployments with support for models like Llama3 and Gemma. The /v1/chat/completions endpoint allows Go applications to send HTTP POST requests in OpenAI-compatible format, while the /api/generate endpoint supports real-time inference and log probabilities for specialized use cases. Streaming responses via the stream parameter reduces latency an...

Programming in Go - Essential Resources

Over the time I created a set of articles about coding in Go. Here is an updated release note. https://glukhov.au/posts/2026/go-coding/ Hope you find it useful