2020-08-19 16:07:10 +02:00
|
|
|
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') }
|
2020-08-19 16:07:10 +02:00
|
|
|
println('$mod.name has version $mod.version')
|
|
|
|
println('\nThe full mod struct: \n$mod')
|
|
|
|
}
|