bind,_examples: apply goimports

This commit is contained in:
Sebastien Binet 2017-06-08 14:24:00 +02:00
parent 48dcae4630
commit d8d6050a7f
3 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@ package pywrapper
import (
"fmt"
"github.com/go-python/gopy/_examples/wrapper"
)

View File

@ -17,7 +17,7 @@ const (
"strings"
"os"
`
checkGoVersion= "_cgopy_CheckGoVersion()"
checkGoVersion = "_cgopy_CheckGoVersion()"
checkGoVersionDef = `
func _cgopy_CheckGoVersion() {
godebug := os.Getenv("GODEBUG")

View File

@ -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
}
}