Golang Weekly - Go is popular.. again!

Plus a look at `goto`, and reflecting on Go 1.22's http.ServeMux enhancements. |

#​496 — February 20, 2024

Unsub  |  Web Version

Together with  Tuple logo

Go Weekly

The HTTP Routing Enhancements in Go 1.22 — The Go team’s official take on the new HTTP routing enhancements in Go 1.22: “Go 1.22 brings two enhancements to the net/http package’s router: method matching and wildcards. These features let you express common routes as patterns instead of Go code.” These features are not universally adored so far, however.

Jonathan Amsterdam

💡 Willem Schots' URL path parameters in routes tutorial provides a fantastic example-led introduction to some of what's possible.

Go Enters the Top 10 in the TIOBE Index (Again..) — This story has been doing the rounds on social media, though the same author wrote a similar story a year ago. We also covered Go making it into TIOBE's top 10 six years ago (in issue 168) so don’t read too much into this (especially given how the stats are obtained). Nonetheless, #8 is the highest position Go has reached, so that’s neat.

Paul Krill (Infoworld)

Pairing - An Underrated Way to Collab with Other Devs — Tuple "makes pair programming with co-workers and friends fun again". Try it for free and find out why staff engineers at Figma can't stop talking about Tuple.

Tuple sponsor

Calling C from Go — A handy post containing various examples, including passing arrays, strings, and other types from Go to C. Knowing how to properly invoke C code is another arrow in your quiver and could improve your understanding of Go a little, too.

Eric Chiang

🔥 Fuego: A Nest-Inspired API/Web Framework for Go“The only Go framework generating OpenAPI documentation from code. Inspired by Nest, built for Go developers.” Here’s a 'hello world' example along with full docs. Or jump into the GitHub repo.

Fuego, Inc.

QUICK BITS:

Kubernetes CPU Limits and Go — Go’s runtime doesn’t inherently know that it’s running within a Kubernetes environment, so you may want to take CPU limits and GOMAXPROCS into account if you’re doing this.

William Kennedy

Give Go's goto a retry? — It's surely only a mild exaggeration to say many of us were brought up to 'never use goto' but a lot of developers have a strong aversion to its use. Nonetheless, Go has it, it’s used in the standard libraries, and it can be useful in a variety of cases.

Ammar Bandukwala

How to Monitor for Keywords on Reddit with Go — Reddit’s JSON API makes it pretty easy to scan but YMMV.

Arthur at KWatch

▶  Give Superpowers to Your Go App with WebAssembly and Extism
Philippe Charrière

Understanding a Recent Optimization to reflect.TypeFor
Chris Siebenmann

🛠 Code & Tools

Gofakeit v7: The Random Data Generation Library — You can ask it to generate things like random names, email addresses, phone numbers, job titles, and more, or have it help to populate structs using annotated data types. v7 integrates with Go 1.22’s math/rand/v2 which can simplify usage in some cases shown in the release notes. (Main docs.)

Brian Voelker

ObjectBox Go 1.8: A Fast, Embedded Database for Go Objects — Store objects in ObjectBox and find them again using powerful queries. v1.8 adds support for an in-memory database.

ObjectBox Ltd.

WorkOS, the modern identity platform for B2B SaaS — WorkOS provides easy-to-use APIs for authentication, user identity, and complex enterprise features like SSO and SCIM.

WorkOS sponsor

AWS Lambda Web Adapter: Run HTTP Webapps More Easily on AWS Lambda — A Rust project in Go Weekly? 🫣 Fear not, this is a handy adapter that makes it easy to run apps built in any language more easily on AWS’s serverless platform by letting them stick to their usual HTTP serving ways with the adapter bridging the gap.

Amazon Web Services Labs

🕰️ ICYMI (Older links, still worth checking out)

n

Older messages

The one with Go 1.22 everywhere

Tuesday, February 13, 2024

Plus feeding a hungry mouse, why to start with the standard libraries, and how Mat Ryer writes Go HTTP services after all these years. | #​495 — February 13, 2024 Unsub | Web Version Together with

'I don't scoff at 2% improvements'

Tuesday, February 6, 2024

Plus a brief history of dependency management in Go, and the Go survey is still open. | #​494 — February 6, 2024 Unsub | Web Version Together with Crunchydata Go Weekly Testing Out Profile-Guided

Go 1.22 Release Candidate 2

Tuesday, January 30, 2024

Plus the latest Go survey, the future of JSON in Go, and Mat Ryer serenades us with Go docs. | #​493 — January 30, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly The Latest Go Developer

Russ Cox on Go changes

Tuesday, January 23, 2024

Plus optimizing compiler performance, and Rust vs Go redux. | #​492 — January 23, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Rust vs Go in 2024? — A perennially popular post from

A closer look at Go 1.22

Tuesday, January 16, 2024

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,

You Might Also Like

WP Weekly 192 - WP Biz - Brands Merged, Woo Cart Popup, Fastest Hosting

Monday, May 6, 2024

Read on Website WP Weekly 192 / WP Biz The 'business of WordPress' is buzzing for sure, be it the acquisition of plugins or the massive Envato ownership change. Also, WordPress content brands

SRE Weekly Issue #423

Monday, May 6, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: FireHydrant is now AI-powered for faster, smarter incidents! Power up your incidents with auto-generated real-time summaries,

⚠️ Avoiding AI Scams on Social Media — An Open Source Google Photos Alternative

Sunday, May 5, 2024

Also: Reviewing the Customizable Drop Mechanical Keyboard, and More! How-To Geek Logo May 5, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to

Daily Coding Problem: Problem #1432 [Medium]

Sunday, May 5, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This question was asked by Snapchat. Given the head to a singly linked list, where each node also has a “random”

PD#572 Good Ideas in Computer Science

Sunday, May 5, 2024

Ideas every programmer likes and why Garbage Collection and Object Oriented Programming don't count ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

RD#454 API Layer & Fetch Functions

Sunday, May 5, 2024

ixing API and UI code quickly leads to messy and unmaintainable code ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

The Shiny Toy Syndrome & Tiny macOS utility apps I love

Sunday, May 5, 2024

Lex launching its redesign, Raycast shares another monthly update packed with AI updates, prompts should be designed not engineered, and a lot more in this week's issue of Creativerly. Creativerly

Hyundai antes up $1B for AV startup Motional and Elon unplugs the Tesla Supercharger team

Sunday, May 5, 2024

Plus, layoffs come for Luminar, Fisker and Ola View this email online in your browser By Kirsten Korosec Sunday, May 5, 2024 Image Credits: Motional Welcome back to TechCrunch Mobility — your central

C#504 Adventures serializing absolutely everything in C#

Sunday, May 5, 2024

A fantastic journey porting Newtonsoft.Json to System.Text.Json ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Sunday Digest | Featuring 'Which City Has the Most Billionaires in 2024?' 📊

Sunday, May 5, 2024

Every visualization published this week, in one place. Visual Capitalist Sunday Digest logo May 5, 2024 | View Online | Subscribe | VC+ The Best of This Week's Visuals Presented by Voronoi: The