Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
tests
/
modules
/
amodule
/
module.v
14
lines
·
11
sloc
·
207 bytes
·
0c192cfd64b4552181538cdd7bba850eff02fd52
Raw
1
module
amodule
2
3
pub
fn
iadd(x int, y int) int {
4
return
x + y
5
}
6
7
pub
fn
imul(x int, y int) int {
8
return
x * y
9
}
10
11
// /////////////////////////////////////
12
fn
private_isub(x int, y int) int {
13
return
x - y
14
}
15