Go 1.26 new(expr) and the pointer problem I thought was solved
The new(expr) syntax in Go 1.26 should have let me delete my generic ptr[T] helpers. It almost did.
Category // golang
3 entries filed under this category.
The new(expr) syntax in Go 1.26 should have let me delete my generic ptr[T] helpers. It almost did.
I wasted a weekend on LangChainGo agent frameworks before giving up. Here is the simpler approach that actually works with local models: direct LLM calls, clear boundaries, and no parsing gymnastics.
A hands-on guide to building production-ready tool-using AI agents in Go using LangChainGo. Covers tool definitions, the agent executor, and memory.