#485 — November 21, 2023 |
|
Go Weekly |
River: A Fast, Robust Job Queue for Go + Postgres — A new beta, open-source job queue “for building fast, airtight applications” that’s written in Go and takes advantage of generics. It also uses pgx to interface with Postgres. This post does a great job of selling River's benefits. Brandur Leach |
NilAway: Practical Nil Panic Detection — Nil panics are a common and hard-to-detect issue in Go, but Uber has created a static analysis tool (based on a similar tool in the Java world) that’s easy to setup and integrate with build tools, so there are.. Uber |
35% Off Ardan Labs Online Training — Get your skills to the next level by saving 35% off any of our Go, Rust, Docker and Kubernetes online high performance training. Learn what the seasoned engineering pros know now! Use promo code Ardan Labs Training sponsor |
Google's Go Style Guide for Readable Code — What goes for Google doesn’t necessarily go for everyone else, but it remains interesting to see their take on writing idiomatic Go. This comprehensive resource isn’t meant to be absolute but aims toward a ‘Go code style’ to help new and current Go developers at Google avoid common pitfalls and maintain consistency in codebases. |
12 Personal Go Tricks That Transformed My Productivity — A fun grab bag of ideas, though if you’re working with others, 6 and 9 might not go down so well and are best avoided – we'll leave it as a reader exercise to figure out why. Phuong Le |
QUICK BITS:
|
Retrieval Augmented Generation in Go — Training your own LLMs (large language models) has challenges around the staleness of data and cost, but what if you could push the LLM toward more real-time answers without retraining by fetching in external data on demand? That’s what so-called ‘RAG’ does. Simon Vellei also shows off how to do this with Redis. Eli Bendersky |
Crafting a Lightweight Markdown Editor — Wails brings an Electron-esque cross-platform desktop app building approach to Go and so if you don’t like Electron (or other desktop frameworks) and do like Go, Wails may be the way to.. Go 😅 Ersin Buckley |
|
🛠 Code & Tools |
Ants 2.9: A High-Perf Fixed Capacity Goroutine Pool — If your program is designed to generate a large number of goroutines, Ants can automatically manage and recycle them within limits. Andy Pan |
Telebot 3.2: A Telegram Bot Framework — Promises a ‘best of its kind’ API for working with bot command routing, inline query requests, callbacks, and more. The docs have plenty of simple examples. v3.2 includes updates for new Telegram bot features in Bot API 6.3-6.5. Various Contributors |
Ergo 2.12: A Modern IRC Server/ Lingamneni, Oaks, Huber, Latt, et al. |
|