mirror of https://github.com/go-python/gopy.git
bind,_examples: apply goimports
This commit is contained in:
parent
48dcae4630
commit
d8d6050a7f
|
@ -6,6 +6,7 @@ package pywrapper
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/go-python/gopy/_examples/wrapper"
|
||||
)
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ const (
|
|||
"strings"
|
||||
"os"
|
||||
`
|
||||
checkGoVersion= "_cgopy_CheckGoVersion()"
|
||||
checkGoVersion = "_cgopy_CheckGoVersion()"
|
||||
checkGoVersionDef = `
|
||||
func _cgopy_CheckGoVersion() {
|
||||
godebug := os.Getenv("GODEBUG")
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue