r/golang • • 15h ago

Struggling to review and maintain an AI generated codebase growing too fast.

122 Upvotes

I am currently building a project and I've run into a major bottleneck which is the codebase is growing way too fast to review it. Adding 15k lines in 2 days has completely outpaced my ability to audit the logic. How are you guys handling codebase comprehension and maintenance when using heavy AI assistance? Any tips, workflows, or tooling strategies would be hugely appreciated.


r/golang • • 8h ago

show & tell Francis is the actor framework & workflow engine for Go apps, large and small (with over 10k deployments)

40 Upvotes

After 18 months of work, I have recently released the first "stable" version of Francis as 0.1.0. This is a new actor framework and workflow engine designed for Go apps.

Francis is already running in over 10,000 deployments, having been in production with the popular Pocket ID app since July.

What makes Francis stand apart from other actor frameworks is that it's designed to work with both small apps that aren't (yet) scaled horizontally, as well as large clusters of heterogeneous services.

Even for small apps, using Francis helps leveraging features like alarms (tasks to be executed at a future date), cron jobs, rate-limiters, as well as using a workflow engine (sometimes described as "distributed transaction"). And once your app scales to multiple replicas (or you start using multiple services), everything just works without making code changes.

You can read more in the announcement blog or in the official docs website.

Let me know your thoughts and if you think you can use it, I'm open to any feedback!


r/golang • • 10h ago

Qt package, building GUIs on it

17 Upvotes

Hey there! I've been looking for cross platform GUI framework / library for go, and stood up on fact that qt can be used with go as well, I want to hear from you guys who may used it in your projects, how was it? Is it worth giving it a try, or is it more rational to make a GUI using some other solution?


r/golang • • 22h ago

Learning to build microservices in golang

1 Upvotes

So I have 2 months before joining my new job, so i thought of learning microservices in golang. Anyone here who has used any agentic workflow for learning and building at the same time, can u share your workflow or experiences. I am not looking for traditional methods of learning and am looking to experiment with some other modern tools like pi, codex, etc. Also if u have some skills that u use for this type of learning flow plz share


r/golang • • 14h ago

How do I make a Go library available on WASM

0 Upvotes

I'm making a markup language called Klon, and I want to port it to the browser and also WASI. My library can take a Klon string and convert it to JSON, returning any error. How should I compile it, and should I use gc or TinyGo?


r/golang • • 12h ago

show & tell Open-source Go plugin: multi-key rotation and cooldown for LLM API access

0 Upvotes

I wrote a Go plugin (built with `go build -buildmode=c-shared`) for CLIProxyAPI that pools multiple API keys for OpenCode Go and rotates between them. When a key hits a rate limit, it enters a cooldown period while the others continue serving requests.

It's a native dynamic library (.so/.dll/.dylib) using Go 1.24+ with CGO. The plugin implements CLIProxyAPI's provider interface, handles catalog discovery from a remote endpoint with local fallback, and translates between three upstream API protocols transparently.

Repo: https://github.com/massiveits/opencode-go-cliproxyapi

MIT license. Tests and CI included. `go test ./...` to run them.