v / examples
Raw file
		
1module main
2
3import v.vmod
4
5fn 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}