The most popular Go items of 2021

#​393 — December 24, 2021 Unsubscribe  |  Read on the Web Go Weekly The Best of Go Weekly in 2021 This is the last issue of the year so we're taking a look back at some of the most popular items we've shared throughout 2021 (plus one new on...

In Go 1.18, generics are implemented through code specialization

Get your generics here with 1.18 beta 1.

#​392 — December 17, 2021 Unsubscribe  |  Read on the Web Go Weekly Go 1.18 Beta 1 is Available (with Generics) — It’s here! It’s here! Just in time for the holidays! The preview release of Go 1.18 with generics (and a few other...

A bit on compilation's changing number of stages (and assembly)

Go 1.18 Beta 1 is available, with generics

Go 1.18 Beta 1 is our first preview of Go 1.18. Please try it and let us know if you find problems.

Adding a keyword to Go

#​391 — December 10, 2021 Unsubscribe  |  Read on the Web Go Weekly A Tale of Hacking the Go Compiler to Add a New Keyword — Inspired by Eli Bendersky’s 'Adding an new statement to Go' post (that we linked in issue 270), a develop...

Continuous integration with Go and GitHub Actions

In this post we're going to walk through how to use GitHub Actions to create a continuous integration (CI) pipeline that automatically tests, vets and lints your Go code. For solo projects I usually create a pre-commit Git hook to carry out these kinds of checks, but for team p...

Plenty of Go talks to watch

#​390 — December 3, 2021 Unsubscribe  |  Read on the Web Go Weekly ▶  19 Talks from GopherCon UK 2021 — GopherCon UK 2021 took place in October in person in London, UK, but you can now watch the talks from the comfort of whereve...

Quick tip: Change URL query params in Go

In this short post we're going to discuss how to add, modify or delete URL query string parameters in Go. To illustrate, we'll look at how to change this URL: To this:

Why region based memory allocation help with fragmentation