gopls can now suggest ways to modernize your Go code

#​543 — February 26, 2025

Unsub  |  Web Version

Go Weekly

Testing Concurrent Code with testing/synctest — Concurrency is one of Go’s natural strengths, but testing heavily concurrent programs can be tricky. Go 1.24 introduces a new (though experimental and hidden behind an environment variable) package for testing code involving time or concurrency. The Go team wants you to have a play and send in your feedback.

Damien Neil

Prepare Your App for AI AgentsStytch extends auth to handle permissions for AI agents—so your app can securely delegate access to agents or protect against agent-powered threats. Check out our Go quickstart.

Stytch sponsor

Extensible Wasm Applications with Go“… the ability to build a WASI reactor and export Go functions to Wasm in Go 1.24 represent a significant step forward for Go’s WebAssembly capabilities. These features empower developers to create more versatile and powerful Go-based Wasm applications …”

Cherry Mui

IN BRIEF:

How to Manage Tool Dependencies in Go 1.24+ — We’ve touched on the new go tool subcommand a few times before, but this is a bit more usage-focused and includes a nice tip about separating your tools into their own module file.

Alex Edwards

gno.land Offers Grants & Bounties for Building Go-Powered Decentralized Apps — App builders, Go enthusiasts, tinkerers: come and build on gno.land, a smart contract platform for a freer, fairer world.

gno.land sponsor

📄 Building RAG Systems in Go with Ent, Atlas, and pgvector Rotem Tamir (Ent)

📄 Building a BitTorrent Client from the Ground Up in Go – We linked this in 2020 but it’s been doing the rounds on social media again and is fun to revisit. Jesse Li

📺 From Strong to Weak: Weak Pointers in Go 1.24 Flo Woelki

📄 Scaling gRPC with Kubernetes and Go Noam Yadgar

📄 Practical OpenAPI in Go Alex Pliutau

🛠 Code & Tools

Minecraft From Scratch: A Simple Go Minecraft Clone — A fun project to replicate Minecraft’s infinite, procedurally-generated navigable landscapes using Go and OpenGL 4.1 (as provided via the go-gl/gl bindings – yes, cgo is required here).

Gianluca Piccirillo

nativewebp: Native WebP Image Support for Go — WebP is a modern raster graphics format commonly used on the Web and this library lets you work with it (though only its VP8L lossless form, for now) from Go without dependencies.

Hugo Smits

WAX: JSX-Based Server-Side Rendering for Go — Generate server-side HTML with TSX/JSX templates in Go.

Kita

godoc.nvim: Fuzzy Search Go's Docs from Neovim — Adds a quick way to search and browse Go documentation from within the Neovim editor.

Fredrik Averpil

GoChromecast: Discover Devices and Stream Media to Chromecast Devices — A Go-powered tool that implements the protocol used by Chromecast devices.

Vjeran

📰 Classifieds

🔥 Free. As in zero dollars. Why haven’t you signed up? Get instant access to CarsXE’s API with a free trial. No risk, just great data. Try for Free now!

Elevate Infrastructure Resiliency and Engineering Velocity with Infrastructure Identity.

📢  Elsewhere in dev

Erstellt 6h | 26.02.2025, 16:30:06


Melden Sie sich an, um einen Kommentar hinzuzufügen