Hacker GitHub

← All repos

sapcc/go-bits

View on GitHub ↗ ★ 12 Go

Tiny Go libraries that I keep copying between projects

4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2019-08-27 · latest 2026-08-12

Mentions per year 4 mentions · busiest year 2026 (2)
20082026
  1. …with a type from std, and had to add a specific test to guard against it with future std upgrades: https://github.com/sapcc/go-bits/pull/309/changes#diff-f5721...
  2. …matches http.DefaultTransport, so that the tests scream loudly when upstream pulls this shit again: https://github.com/sapcc/go-bits/pull/309/changes
    comment by majewsky · 2026-08-03 · in Go 1.27 Interactive Tour
  3. This is my version of it: https://pkg.go.dev/github.com/sapcc/go-bits/easypg#WithTestD... The most annoying part of it is that Postgres absolutely detests running as PID 0, which makes running `make check` in Docker containers an…
    comment by majewsky · 2025-09-22 · in What if we treated Postgres like SQLite?
  4. …For Go-based API-driven services, we have collected some of these reusable modules and functions at https://github.com/sapcc/go-bits .