diff --git a/_examples/wrapper/pywrapper/wrapper_code.go b/_examples/wrapper/pywrapper/wrapper_code.go index 22df9fd..1ded41b 100644 --- a/_examples/wrapper/pywrapper/wrapper_code.go +++ b/_examples/wrapper/pywrapper/wrapper_code.go @@ -6,6 +6,7 @@ package pywrapper import ( "fmt" + "github.com/go-python/gopy/_examples/wrapper" ) diff --git a/bind/gengo.go b/bind/gengo.go index 58fc740..7747c16 100644 --- a/bind/gengo.go +++ b/bind/gengo.go @@ -17,7 +17,7 @@ const ( "strings" "os" ` - checkGoVersion= "_cgopy_CheckGoVersion()" + checkGoVersion = "_cgopy_CheckGoVersion()" checkGoVersionDef = ` func _cgopy_CheckGoVersion() { godebug := os.Getenv("GODEBUG") diff --git a/bind/utils.go b/bind/utils.go index de82064..089dfe9 100644 --- a/bind/utils.go +++ b/bind/utils.go @@ -161,4 +161,4 @@ func getGoVersion(version string) (int64, int64, error) { major, _ := strconv.ParseInt(version_info[0], 10, 0) minor, _ := strconv.ParseInt(version_info[1], 10, 0) return major, minor, nil - } +}