Golang

Francesco Ciannavei

Golang

I started with Go in early 2025, and it quickly became the language I most naturally reach for on new projects. At HSPI I develop microservices in Go, and most of them use AI models that run locally.

Why Go

I value the clean syntax, the native concurrency with goroutines and channels, compilation to static binaries and very fast build times. It lets me focus on the problem rather than the language.

Microservices with local AI

The models run locally, not at a cloud provider. How I work with local models is on the Ollama API page. The Go apps at HSPI all go through CI/CD pipelines with matrix builds.

Local RAG Example

Local RAG Example is an open-source RAG system written only with Go, PostgreSQL with pgvector and Ollama, all running locally. Started with Docker Compose, it's a practical guide to how a RAG is built: how it works is explained in the article I wrote about it. It's not the RAG I built at STCC, which used Python and CodeIgniter: they're two different systems.

A journey that continues

I'm aware I'm at the start with Go, and I don't present myself as an expert in the language. But it's the one I'm investing in most for future projects, in cloud-native services, microservices and high-performance solutions.

Rating
4/10

Where i've used it: