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:
@ -14,7 +14,7 @@ fn main() {
|
||||
eprintln('Listen on $laddr ...')
|
||||
for {
|
||||
mut socket := server.accept()!
|
||||
go handle_client(mut socket)
|
||||
spawn handle_client(mut socket)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user