Merge pull request #439 from influxdata/jl-fix-go-vet
go test examples must follow a very specific formatpull/10616/head
commit
c5606851c8
kit/signals
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue