From eaf4ad6f7493c222a6b27609fcb24e950eb540ab Mon Sep 17 00:00:00 2001
From: Alan Donovan -tests
check, the old, unadvertised
-test
option has been removed; it was equivalent to -all
-shadow
.
+The vet
command also has a new check,
+-lostcancel
, which detects failure to call the
+cancellation function returned by the WithCancel
,
+WithTimeout
, and WithDeadline
functions in
+Go 1.7's new context
package (see below).
+Failure to call the function prevents the new Context
+from being reclaimed until its parent is cancelled.
+(The background context is never cancelled.)
+
-- 2.48.1