mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: replace go with spawn
This commit is contained in:
@@ -31,10 +31,10 @@ fn test_select() {
|
||||
chl := chan i64{cap: 1}
|
||||
chb := chan u8{cap: 10}
|
||||
recch := chan i64{cap: 0}
|
||||
go do_rec_i64(recch)
|
||||
go do_send_int(chi)
|
||||
go do_send_u8(chb)
|
||||
go do_send_i64(chl)
|
||||
spawn do_rec_i64(recch)
|
||||
spawn do_send_int(chi)
|
||||
spawn do_send_u8(chb)
|
||||
spawn do_send_i64(chl)
|
||||
mut sum := i64(0)
|
||||
mut rl := i64(0)
|
||||
mut sl := i64(0)
|
||||
|
||||
Reference in New Issue
Block a user