aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/examples/vmod.v
blob: 9e34b328516154f943d87e6461d8162ae6ae470b (plain)
1
2
3
4
5
6
7
8
9
module main

import v.vmod

fn main() {
	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')
}