author | Brad Fitzpatrick
<bradfitz@golang.org> 2016-04-27 01:54:49 UTC |
committer | Brad Fitzpatrick
<bradfitz@golang.org> 2016-04-27 15:28:33 UTC |
parent | cb0ed7acc4f717d79a358093419e5a7da09b8b45 |
context/context.go | +1 | -1 |
diff --git a/context/context.go b/context/context.go index 7350678..134654c 100644 --- a/context/context.go +++ b/context/context.go @@ -61,7 +61,7 @@ type Context interface { // // // Stream generates values with DoSomething and sends them to out // // until DoSomething returns an error or ctx.Done is closed. - // func Stream(ctx context.Context, out <-chan Value) error { + // func Stream(ctx context.Context, out chan<- Value) error { // for { // v, err := DoSomething(ctx) // if err != nil {