diff options
author | Ian Lance Taylor <iant@golang.org> | 2019-08-08 14:30:50 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2019-08-08 14:30:50 -0700 |
commit | 7aafe3d8b2c8b138c431d5fcc98a4d2a7c3270f9 (patch) | |
tree | 0628151f6974949043a884828a78baaefeb3c526 /Examples/go | |
parent | 5e2b8f3ec9594b385824976ebf79b22572d06214 (diff) | |
download | swig-7aafe3d8b2c8b138c431d5fcc98a4d2a7c3270f9.tar.gz |
Fix all Go tests to build with "go build"
Tested against Go 1.6 through Go 1.13beta1, and gccgo.
Fixes #1607
Diffstat (limited to 'Examples/go')
-rw-r--r-- | Examples/go/callback/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/class/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/constants/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/director/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/enum/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/extend/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/funcptr/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/multimap/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/pointer/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/reference/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/simple/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/template/runme.go | 2 | ||||
-rw-r--r-- | Examples/go/variables/runme.go | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/Examples/go/callback/runme.go b/Examples/go/callback/runme.go index 2c1d81343..7c9ffd681 100644 --- a/Examples/go/callback/runme.go +++ b/Examples/go/callback/runme.go @@ -3,7 +3,7 @@ package main import ( "fmt" - . "example" + . "swigtests/example" ) func main() { diff --git a/Examples/go/class/runme.go b/Examples/go/class/runme.go index d2f292ed4..a09a18247 100644 --- a/Examples/go/class/runme.go +++ b/Examples/go/class/runme.go @@ -5,7 +5,7 @@ package main import ( "fmt" - . "example" + . "swigtests/example" ) func main() { diff --git a/Examples/go/constants/runme.go b/Examples/go/constants/runme.go index d56fd62c8..57ef21a8b 100644 --- a/Examples/go/constants/runme.go +++ b/Examples/go/constants/runme.go @@ -3,7 +3,7 @@ package main import ( "fmt" - "example" + "swigtests/example" ) func main() { diff --git a/Examples/go/director/runme.go b/Examples/go/director/runme.go index 0e0da07bd..e28eccba6 100644 --- a/Examples/go/director/runme.go +++ b/Examples/go/director/runme.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "example" + "swigtests/example" ) func Compare(name string, got string, exp string) error { diff --git a/Examples/go/enum/runme.go b/Examples/go/enum/runme.go index 50887056e..c0642e0b5 100644 --- a/Examples/go/enum/runme.go +++ b/Examples/go/enum/runme.go @@ -3,7 +3,7 @@ package main import ( "fmt" - . "example" + . "swigtests/example" ) func main() { diff --git a/Examples/go/extend/runme.go b/Examples/go/extend/runme.go index af64a6e5d..716af52c5 100644 --- a/Examples/go/extend/runme.go +++ b/Examples/go/extend/runme.go @@ -5,7 +5,7 @@ package main import ( "fmt" - . "example" + . "swigtests/example" ) func main() { diff --git a/Examples/go/funcptr/runme.go b/Examples/go/funcptr/runme.go index 4b20db4fb..87ec7d495 100644 --- a/Examples/go/funcptr/runme.go +++ b/Examples/go/funcptr/runme.go @@ -3,7 +3,7 @@ package main import ( "fmt" - . "example" + . "swigtests/example" ) func main() { diff --git a/Examples/go/multimap/runme.go b/Examples/go/multimap/runme.go index 571fac7c2..2f8b20568 100644 --- a/Examples/go/multimap/runme.go +++ b/Examples/go/multimap/runme.go @@ -3,7 +3,7 @@ package main import ( "fmt" - . "example" + . "swigtests/example" ) func main() { diff --git a/Examples/go/pointer/runme.go b/Examples/go/pointer/runme.go index 0cf340f51..73c6b2b3c 100644 --- a/Examples/go/pointer/runme.go +++ b/Examples/go/pointer/runme.go @@ -3,7 +3,7 @@ package main import ( "fmt" - . "example" + . "swigtests/example" ) func main() { diff --git a/Examples/go/reference/runme.go b/Examples/go/reference/runme.go index 9999733b3..7391d9c8b 100644 --- a/Examples/go/reference/runme.go +++ b/Examples/go/reference/runme.go @@ -5,7 +5,7 @@ package main import ( "fmt" - . "example" + . "swigtests/example" ) func main() { diff --git a/Examples/go/simple/runme.go b/Examples/go/simple/runme.go index 0bd4657f9..5bc055f2e 100644 --- a/Examples/go/simple/runme.go +++ b/Examples/go/simple/runme.go @@ -3,7 +3,7 @@ package main import ( "fmt" - "example" + "swigtests/example" ) func main() { diff --git a/Examples/go/template/runme.go b/Examples/go/template/runme.go index 347795377..e000b1579 100644 --- a/Examples/go/template/runme.go +++ b/Examples/go/template/runme.go @@ -5,7 +5,7 @@ package main import ( "fmt" - . "example" + . "swigtests/example" ) func main() { diff --git a/Examples/go/variables/runme.go b/Examples/go/variables/runme.go index e2dd0c67f..85ca8c638 100644 --- a/Examples/go/variables/runme.go +++ b/Examples/go/variables/runme.go @@ -5,7 +5,7 @@ package main import ( "fmt" - "example" + "swigtests/example" ) func main() { |