Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am danmrichards on github.
  • I am smeghead (https://keybase.io/smeghead) on keybase.
  • I have a public key ASAaiqxaFHHlsLYELiKmnxi6Zc8vqiVGBZy9qrNUfmyO8Ao

To claim this, I am signing this object:

@danmrichards
danmrichards / main.go
Created June 24, 2024 16:50
URL fetcher sliding window with go-metrics
package main
import (
"flag"
"log"
"log/slog"
"math/rand"
"net/http"
"os"
"os/signal"