Always Be Closing
Alec Holmes
1264

What about using go vet ?
For ctx, _ := context.WithTimeout(context.Background(), 1*time.Hour) the message “the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak
exit status 1” is reported.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.