Merge pull request from influxdata/jl-fix-go-vet

go test examples must follow a very specific format
pull/10616/head
jlapacik 2018-07-19 07:36:52 -07:00 committed by GitHub
commit c5606851c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
kit/signals

View File

@ -25,7 +25,7 @@ func ExampleWithSignals() {
// finished // finished
} }
func ExampleWithUnregisteredSignals() { func Example_withUnregisteredSignals() {
dctx, cancel := context.WithTimeout(context.TODO(), time.Millisecond*100) dctx, cancel := context.WithTimeout(context.TODO(), time.Millisecond*100)
defer cancel() defer cancel()