Skip to content

context.WithTimeout の cancel を無視しない

Yoshinori Teraoka requested to merge golangci-lint-govet into master

Created by: yteraoka

lostcancel: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak (govet)

Merge request reports

Loading