News for hackers. Stuff that matters.
Re:Gearbox – A web framework written in Go by PZ81JUXJE7uJ on Sunday May 10, 2020 @10:32AM (#23132865)
Why not import all those consts from net/http?
Re:Gearbox – A web framework written in Go by quicklime on Sunday May 10, 2020 @12:06PM (#23133656)
At least with Go 1.14 (what I got with Ubuntu 20.04) importing net/http could add another 4.7MB to the binary size.

This might've been fixed in Go 1.15 though - see https://twitter.com/bradfitz/status/1256348714198654976.