On oapi-codegen we recently had a report that Go 1.21 results in go test being unable to run without having go mod tidy'd the project.
If you're running Go 1.21:
$ go version
go version go1.21.0 linux/amd64
Then checking out the project (as of the latest commit and running make t...
I was on episode 289 of the Go Time podcast, talking about What’s New in Go 1.21. Check it out!
I was curious to see if I could prototype a simple load balancer in a single Go script. Go’s
standard library and goroutines make this trivial. Here’s what the script needs to do:
Spin up two backend servers that’ll handle the incoming requests.
Run a reverse p...
I was curious to see if I could prototype a simple load balancer in a single Go script. Go’s
standard library and goroutines make this trivial. Here’s what the script needs to do:
Spin up two backend servers that’ll handle the incoming requests.
Run a reverse p...
I was curious to see if I could prototype a simple load balancer in a single Go script. Go’s
standard library and goroutines make this trivial. Here’s what the script needs to do:
Spin up two backend servers that’ll handle the incoming requests.
Run a reverse p...
Build a working round-robin load balancer in Go with goroutines and the standard library. No dependencies needed for this educational prototype.
#473 — August 29, 2023
Unsub | Web Version
👋 We're back! Well, almost.. If you didn't get an issue of Go Weekly in the past few weeks, don't worry, I was on vacation. I'm technically on vacation for a couple more days but didn't want too many issu...
Go 1.21 is the first perfectly reproducible Go toolchain.
Series
Here are all the posts in this series about the slices package.
Binary Search
Clip, Clone, and Compact
Compare
Contains, Delete, and Equal
Introduction
In the last post of this series I discussed the Clip, Clone, and Compact APIs from the slices package. In this post, I...