Would Go benefit from supplying a context in the main method? As in:
package main
func main(ctx context.Context) {
// ...
}
Despite how often I supply a context at the top of the function, I think it’s better if main is left as is. Better to keep contexts at a “use when needed” at that level.