Skip to content

Commit

Permalink
close #26
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed Oct 15, 2017
1 parent b097669 commit 7039019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipe.go
Expand Up @@ -102,7 +102,7 @@ func (s *Session) WaitTimeout(timeout time.Duration) (err error) {
}

func Go(f func() error) chan error {
ch := make(chan error)
ch := make(chan error, 1)
go func() {
ch <- f()
}()
Expand Down

0 comments on commit 7039019

Please sign in to comment.