mirror of https://github.com/golang/go.git
- fixed a test
- added extra basic type aliases - added select statement SVN=117448
This commit is contained in:
parent
d4d19fad2f
commit
76abea7c6d
|
|
@ -30,7 +30,7 @@ func Sieve() {
|
|||
go Generate(ch); // Start Generate() as a subprocess.
|
||||
for {
|
||||
prime := <ch;
|
||||
printf("%d\n", prime);
|
||||
print "%d\n", prime;
|
||||
ch1 := new(chan int);
|
||||
go Filter(ch, ch1, prime);
|
||||
ch = ch1
|
||||
|
|
|
|||
Loading…
Reference in New Issue