Gitly
English
Русский
Español
日本語
中文
Português
Pricing
Log in
Register
v4
/
vlib
/
v3
/
tests
/
strings.v
12
lines
·
11
sloc
·
233 bytes
·
6c4d26f1f98c5464b012a375667ab345e462f7e0
Raw
1
// exclaim supports exclaim handling for v3 tests.
2
fn
exclaim(s string) string {
3
return
s +
'!'
4
}
5
6
// main runs the v3 tests entry point.
7
fn
main() {
8
a :=
'hello'
9
b :=
'world'
10
println(a +
' '
+ b)
11
println(exclaim(
'v3 works'
))
12
}
13