1
0
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:
Alexander Medvednikov
2022-11-05 10:46:40 +03:00
parent a082328e40
commit e81e0ac708
126 changed files with 262 additions and 262 deletions

View File

@@ -26,7 +26,7 @@ fn main() {
mut wg := sync.new_waitgroup()
wg.add(2)
// Run tasks async
go vlang_time(mut wg)
go remote_ip(mut wg)
spawn vlang_time(mut wg)
spawn remote_ip(mut wg)
wg.wait()
}