Fix all Go tests to build with "go build"
Tested against Go 1.6 through Go 1.13beta1, and gccgo. Fixes #1607
This commit is contained in:
parent
5e2b8f3ec9
commit
7aafe3d8b2
167 changed files with 246 additions and 392 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// Note: This example assumes that namespaces are flattened
|
||||
package main
|
||||
|
||||
import "cpp_namespace"
|
||||
import "swigtests/cpp_namespace"
|
||||
|
||||
func main() {
|
||||
n := cpp_namespace.Fact(4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue