summaryrefslogtreecommitdiff
path: root/timeoutat/timeoutat.go
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2022-03-18 21:20:30 -0400
committerWill Hawkins <[email protected]>2022-03-18 21:20:30 -0400
commit6e5711a1136ae5ed2e0533f1a5d39bb71fb668b5 (patch)
tree87c09b643d13bfbe9c68d3336a87cd04d6856ab6 /timeoutat/timeoutat.go
parent8047ec2a26a1c3120b8104318e3c573ac7df9938 (diff)
Make sure that we format with short lines.
Diffstat (limited to 'timeoutat/timeoutat.go')
-rw-r--r--timeoutat/timeoutat.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/timeoutat/timeoutat.go b/timeoutat/timeoutat.go
index 263890d..0e13a9f 100644
--- a/timeoutat/timeoutat.go
+++ b/timeoutat/timeoutat.go
@@ -20,7 +20,11 @@ import (
"time"
)
-func TimeoutAt(ctx context.Context, when time.Time, debug bool) (response chan interface{}) {
+func TimeoutAt(
+ ctx context.Context,
+ when time.Time,
+ debug bool,
+) (response chan interface{}) {
response = make(chan interface{})
go func(ctx context.Context) {
go func() {