A Complete Guide to Working With Cookies in Go

In this post we're going to run through how to use cookies in your Go web application to persist data between HTTP requests for a specific client. We'll start simple, and slowly build up a working application which covers the following topics: Basic reading and writing of cook...

Go runtime: 4 years later

A check-in on the status of Go runtime development

It's like Electron, but for Go developers.

#​429 — September 23, 2022 Unsubscribe  |  Read on the Web The Go Weekly Newsletter Wails v2: Build Cross-Platform Desktop Apps with Go — A big step forward for a project that has shown a lot of promise in recent years. Wails is an...

Testing CLI tools in Go

The testscript package gives us an easy way to test the behaviour of a Go CLI tool, by executing it as an independent binary. Let’s see how.

Basic Go tooling for generics

Continuing the recent theme of blog posts about Go tooling, this post will briefly discuss how analysis tools interact with one of Go's newest features - generics. As usual, this post provides a motivating example and discusses a couple of approaches to writing a tool. The full c...

The C <code>free()</code> API gives libraries and functions useful freedom

Go's backwards compatibility discussion

#​428 — September 16, 2022 Unsubscribe  |  Read on the Web The Go Weekly Newsletter Let's Discuss Backward Compatibility in Go — When Russ Cox starts a discussion, we listen. Rather than focus on a new feature, he reflects on Go 1...

So you're ready for green belt?

If you’re a BIT student, are you ready for your green belt test? If you’re studying independently, check your Go skills and see whether you’d pass this demanding certification.

Creating a tag and releasing from a GitHub Action, with GoReleaser

Most people run GoReleaser by creating a tag locally, pushing it, and letting their CI takes care of the matter. Another lesser known option is to leverage workflow_dispatch on a GitHub Action to create the tag locally, and then &ldquo;auto-creating&rdquo; the tag once the releas...

Derivative of the Exponential Function

It's a known piece of math folklore that e was &quot;discovered&quot; by Jacob Bernoulli in the 17th century, when he was pondering compound interest, and defined thus [1]: \[e=\displaystyle \lim_{n \to \infty}\left ( 1+\frac{1}{n}\right )^n\] e is extremely important in mathema...