diff options
Diffstat (limited to 'timeoutat/timeoutat.go')
| -rw-r--r-- | timeoutat/timeoutat.go | 6 |
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() { |
