2020-08-19 17:07:10 +03:00
|
|
|
module main
|
|
|
|
|
|
|
|
import v.vmod
|
|
|
|
|
|
|
|
fn main() {
|
2021-02-23 20:43:44 +03:00
|
|
|
mod := vmod.decode(@VMOD_FILE) or { panic('Error decoding v.mod') }
|
2020-08-19 17:07:10 +03:00
|
|
|
println('$mod.name has version $mod.version')
|
|
|
|
println('\nThe full mod struct: \n$mod')
|
|
|
|
}
|