1 2 3 4 5 6 7 8 9 10 11
package cgo import ( "C" "runtime" ) //export goVersion func goVersion() string { return runtime.Version() }