v/examples/vmod.v

10 lines
200 B
V
Raw Normal View History

module main
import v.vmod
fn main() {
2021-02-23 18:43:44 +01:00
mod := vmod.decode(@VMOD_FILE) or { panic('Error decoding v.mod') }
println('$mod.name has version $mod.version')
println('\nThe full mod struct: \n$mod')
}