Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
fmt
/
tests
/
go_stmt_input.vv
16
lines
·
13
sloc
·
214 bytes
·
fb54a2635c5abc061614e493e1b44c7f4c4e5e2f
Raw
1
fn my_thread() {
2
println('yo')
3
}
4
5
fn my_thread_with_params(s string)
6
{
7
println(s)
8
}
9
10
fn my_fn_calling_threads () {
11
go my_thread()
12
go my_thread_with_params('yay')
13
14
go
15
my_thread_with_params('nono')
16
}
17