summaryrefslogtreecommitdiff
path: root/Examples/test-suite/go/li_carrays_runme.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2019-04-24 21:43:38 -0700
committerIan Lance Taylor <iant@golang.org>2019-04-24 21:43:38 -0700
commit8a1c09e280e323ba48407a9a9ae86f19d1c7abbe (patch)
tree92ea7cc78824af6b446f601a5fb4210dd6d05934 /Examples/test-suite/go/li_carrays_runme.go
parentb04cc850ab86091dae6923ca128a2ea491c6b2c0 (diff)
downloadswig-8a1c09e280e323ba48407a9a9ae86f19d1c7abbe.tar.gz
Fix Go tests to run in module mode
Stop using relative imports and add a go.mod file. Tested against Go 1.6 through Go pre-1.13, and gccgo.
Diffstat (limited to 'Examples/test-suite/go/li_carrays_runme.go')
-rw-r--r--Examples/test-suite/go/li_carrays_runme.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/go/li_carrays_runme.go b/Examples/test-suite/go/li_carrays_runme.go
index 0cbe92cd8..9128bbfd1 100644
--- a/Examples/test-suite/go/li_carrays_runme.go
+++ b/Examples/test-suite/go/li_carrays_runme.go
@@ -1,6 +1,6 @@
package main
-import . "./li_carrays"
+import . "li_carrays"
func main() {
d := NewDoubleArray(10)