Gitly
Log in
Register
v
/
examples
Raw file
|
9 loc (7 sloc)
|
206 bytes
|
Latest commit hash 017ace6ea
1
module
main
2
3
import
v.vmod
4
5
fn
main() {
6
mod := vmod.decode(@VMOD_FILE)
or
{ panic(
'Error decoding v.mod'
) }
7
println(
'${mod.name} has version ${mod.version}'
)
8
println(
'\nThe full mod struct: \n${mod}'
)
9
}