Golang Weekly - A closer look at Go 1.22

Plus a GUI for execution traces, and finding harmony with Discord. |

#​491 — January 16, 2024

Unsub  |  Web Version

Together with  Dragonfly

Go Weekly

Initial Thoughts on Go 1.22 — 1.22 is due next month, but the release candidate gives us a look at plenty of changes and improvements coming down the pike, including new default behavior for loop variables in for loops, the ‘rangefunc’ experiment (more on that next), and even some performance improvements.

Jason Fulghum (DoltHub)

The Rangefunc Experiment — The Go team is investigating the addition of range-over function iterators to Go, with 1.22 getting a preliminary implementation behind an environment variable. They want feedback on how it works and this page shows off the detail. (You’ll need the 1.22 RC or later to try this now.)

The Go Wiki

Redis With Wings — Dragonfly is a simple, performant, and cost-efficient in-memory data store, perfect as a cache or database for your high-performance Go apps. Dragonfly is fully compatible with Redis APIs but without the Redis management complexity.

Dragonfly sponsor

What’s New in Go 1.22: reflect.TypeFor — Carlana continues our train of Go 1.22 items with a look behind the scenes of the implementation of reflect.TypeFor, which she worked on.

Carlana Johnson

QUICK BITS:

How Do You Represent a JSON Field That Could Be Absent, null or Have a Value? — Why it’s surprisingly hard to work out if a field has been sent or whether it’s explicitly null when using encoding/json, plus a new library to help with the problem.

Jamie Tanna

Using React with templ in Go — A tutorial on how to incorporate React’s rich ecosystem of components as 'islands of interactivity' embedded within the server-side rendering capabilities of Go and templ.

Adrian Hesketh

'Sign in with Google' in Go — A quick look at implementing a ‘Sign-in with Google’ authentication method for your app.

Eli Bendersky

▶  Memory Management in Go: The Good, the Bad and the Ugly — Stays reasonably high-level and accessible.
Liam Hampton

Go Test Doubles by Example
Amin Rashidbeigi

🛠 Code & Tools

Gotraceui: GUI Frontend for Go Execution Traces — Meant to be a faster, more accessible, and more powerful alternative to go tool trace with a Gio UI-powered interface tuned specifically to the unique characteristics of Go traces. Now with added flame graphs 🔥 GitHub repo.

Dominik Honnef

Try a Lightning-Fast Pairing Tool Built with You in Mind — Tuple will change the way you think about pair programming. Try it with your team free for 14 days, no card required.

Tuple sponsor

Avo 0.6: Generate x86 Assembly with Go — Makes assembly easier to write by way of Go control structures and virtual registers. An example of adding two numbers shows off how it works in a simple way. v0.6 adds support for more AVX instructions and improves Go 1.20+ support.

Michael McLoughlin

Algnhsa 1.1: AWS Lambda net/http Server Adapter — Run Go webapps serverlessly on AWS Lambda with API Gateway or ALB without changing existing HTTP handlers.

Artem Krylysov

Harmony: A 'Peaceful' Module for Using Discord's API — When I first linked this years ago, I wrote Discord is a popular chat app, particularly in gaming communities.” Imagine needing to be told that nowadays.. 😆

Antoine Couchard

📰 Classifieds

🪝 Receive, authenticate, transform, filter, route, and deliver webhooks with the Hookdeck Event Gateway. Try the receiving webhooks quickstart.


🗓️ GopherCon Europe is taking place this February (next month!) and June in Athens, Greece and Berlin, Germany respectively. Ardan Labs is also running some Go workshops at the event in Greece.

Steampipe: Query Cloud Services with SQL — Use SQL to query and even join across over 100 APIs from providers like Airtable, AWS, Heroku, Slack and Stripe, as well as social media sites like Reddit and Hacker News.

Steampipe

n

Older messages

Interactive examples of Go 1.22 features

Tuesday, January 9, 2024

Plus benchmarking Go SQLite libraries, fun with LLM embeddings, and a little bat and ball game. | #​490 — January 9, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Rob Pike: 'What We

The best of the Go newsletter in 2023

Tuesday, December 19, 2023

Plus we're back in three weeks. | #​489 — December 19, 2023 Unsub | Web Version Together with Ardan Labs Go Weekly The Best of the Go Newsletter in 2023 Welcome to the final issue of 2023! We'

Python and PHP are Go's newest friends

Tuesday, December 12, 2023

Plus CGO-less SQLite in Go hits 1.0, and 179 handy Go tool recipes. | #​488 — December 12, 2023 Unsub | Web Version 🎄 We're prepping our annual roundup issue for next week, just before we take our

Using Go to build a WASM-powered 'static' site

Tuesday, December 5, 2023

Plus Ebitengine turns ten, an alternative to stack traces, and it's Advent of Code time again. | #​487 — December 5, 2023 Unsub | Web Version Together with Fusion Auth Go Weekly errtrace: An

🥶 Like me, Go 1.22 is now frozen

Tuesday, November 28, 2023

Plus a possible symbiosis of Go and Python, and generating fake data from here to devternity. | #​486 — November 28, 2023 Unsub | Web Version Together with Ardan Labs Go Weekly GoFakeIt 6.25.0: A

You Might Also Like

Ranked | The World's Top 20 Economies by GDP Growth (2015-2025) 📊

Tuesday, March 4, 2025

Halfway through the 2020s, here's a report card on the top 20 economies and their progress since 2015. View Online | Subscribe | Download Our App Presented by Hinrich Foundation NEW REPORT:

Open Source Isnt Dead...Its Just Forked

Tuesday, March 4, 2025

Top Tech Content sent at Noon! Augment Code: Developer AI for real eng work. Start for free Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, March 4,

LW 172 - How to Make Compare at Pricing Show at Checkout    

Tuesday, March 4, 2025

How to Make Compare at Pricing Show at Checkout ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ Shopify Development news and articles Issue 172 -

Issue 165

Tuesday, March 4, 2025

💻🖱️ A single click destroyed this man's entire life. Fake murders get millions of YouTube views. Zuckerberg can now read your silent thoughts. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

This top multitool is under $30

Tuesday, March 4, 2025

Thinnest phone ever?📱; ArcoPlasma; Siri alternatives 🗣️ -- ZDNET ZDNET Tech Today - US March 4, 2025 GOTRAX 4 electric scooter I finally found a high-quality multitool for under $30 Compact and durable

Post from Syncfusion Blogs on 03/04/2025

Tuesday, March 4, 2025

New blogs from Syncfusion ® Stacked vs. Grouped Bar Charts in Blazor: Which is Better for Data Visualization? By Gowrimathi S Learn the difference between the stacked and grouped bar charts and choose

⚙️ GenAI Siri

Tuesday, March 4, 2025

Plus: TSMC's hundred billion dollar investment ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Big Notion Updates + Want to Earn Money?

Tuesday, March 4, 2025

Notion Tabs, Build with AI, Hidden Updates + New Opportunity just for you 🔥 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The Sequence Knowledge #502: If You are Doing RAG You Need to Know Hypothetical Document Embeddings

Tuesday, March 4, 2025

One of the most important methods to enable sematically-rich RAG. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Google's March 2025 Android Security Update Fixes Two Actively Exploited Vulnerabilities

Tuesday, March 4, 2025

THN Daily Updates Newsletter cover Starting with DevSecOps Cheatsheet A Quick Reference to the Essentials of DevSecOps Download Now Sponsored LATEST NEWS Mar 4, 2025 How New AI Agents Will Transform