From 112d7aa6d0ae36af7ed6fc56abfef740d6e08a8a Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 1 Jul 2013 20:13:36 +0100 Subject: [PATCH] Go examples and test-suite format fixes Patch has the results of find . -name *.go -exec gofmt -w {} \; SF Patch #339. --- Examples/go/callback/runme.go | 2 +- Examples/go/class/runme.go | 2 +- Examples/go/constants/runme.go | 2 +- Examples/go/enum/runme.go | 2 +- Examples/go/extend/runme.go | 2 +- Examples/go/funcptr/runme.go | 2 +- Examples/go/multimap/runme.go | 2 +- Examples/go/pointer/runme.go | 2 +- Examples/go/reference/runme.go | 2 +- Examples/go/simple/runme.go | 2 +- Examples/go/template/runme.go | 2 +- Examples/go/variables/runme.go | 2 +- Examples/test-suite/go/constover_runme.go | 2 +- Examples/test-suite/go/template_typedef_cplx3_runme.go | 1 - Examples/test-suite/go/template_typedef_cplx4_runme.go | 1 - Examples/test-suite/go/template_typedef_import_runme.go | 1 - 16 files changed, 13 insertions(+), 16 deletions(-) diff --git a/Examples/go/callback/runme.go b/Examples/go/callback/runme.go index ffa4b3874..2eef77fdb 100644 --- a/Examples/go/callback/runme.go +++ b/Examples/go/callback/runme.go @@ -1,8 +1,8 @@ package main import ( - "fmt" . "./example" + "fmt" ) func main() { diff --git a/Examples/go/class/runme.go b/Examples/go/class/runme.go index ff64bb4be..8d68afb61 100644 --- a/Examples/go/class/runme.go +++ b/Examples/go/class/runme.go @@ -3,8 +3,8 @@ package main import ( - "fmt" . "./example" + "fmt" ) func main() { diff --git a/Examples/go/constants/runme.go b/Examples/go/constants/runme.go index 78a047e20..1427997a0 100644 --- a/Examples/go/constants/runme.go +++ b/Examples/go/constants/runme.go @@ -1,8 +1,8 @@ package main import ( - "fmt" "./example" + "fmt" ) func main() { diff --git a/Examples/go/enum/runme.go b/Examples/go/enum/runme.go index 419df5f93..99d2651f4 100644 --- a/Examples/go/enum/runme.go +++ b/Examples/go/enum/runme.go @@ -1,8 +1,8 @@ package main import ( - "fmt" . "./example" + "fmt" ) func main() { diff --git a/Examples/go/extend/runme.go b/Examples/go/extend/runme.go index 187f1ce08..8fdfd0a6c 100644 --- a/Examples/go/extend/runme.go +++ b/Examples/go/extend/runme.go @@ -3,8 +3,8 @@ package main import ( - "fmt" . "./example" + "fmt" ) type CEO struct{} diff --git a/Examples/go/funcptr/runme.go b/Examples/go/funcptr/runme.go index 73ecbb805..44dae3c9e 100644 --- a/Examples/go/funcptr/runme.go +++ b/Examples/go/funcptr/runme.go @@ -1,8 +1,8 @@ package main import ( - "fmt" . "./example" + "fmt" ) func main() { diff --git a/Examples/go/multimap/runme.go b/Examples/go/multimap/runme.go index 94c29127c..390205a80 100644 --- a/Examples/go/multimap/runme.go +++ b/Examples/go/multimap/runme.go @@ -1,8 +1,8 @@ package main import ( - "fmt" . "./example" + "fmt" ) func main() { diff --git a/Examples/go/pointer/runme.go b/Examples/go/pointer/runme.go index 63deb11b7..1414d341e 100644 --- a/Examples/go/pointer/runme.go +++ b/Examples/go/pointer/runme.go @@ -1,8 +1,8 @@ package main import ( - "fmt" . "./example" + "fmt" ) func main() { diff --git a/Examples/go/reference/runme.go b/Examples/go/reference/runme.go index 3683d6144..004a04c2e 100644 --- a/Examples/go/reference/runme.go +++ b/Examples/go/reference/runme.go @@ -3,8 +3,8 @@ package main import ( - "fmt" . "./example" + "fmt" ) func main() { diff --git a/Examples/go/simple/runme.go b/Examples/go/simple/runme.go index c829ad21a..9eb0ff454 100644 --- a/Examples/go/simple/runme.go +++ b/Examples/go/simple/runme.go @@ -1,8 +1,8 @@ package main import ( - "fmt" "./example" + "fmt" ) func main() { diff --git a/Examples/go/template/runme.go b/Examples/go/template/runme.go index 8b3d4000e..fca2f1b75 100644 --- a/Examples/go/template/runme.go +++ b/Examples/go/template/runme.go @@ -3,8 +3,8 @@ package main import ( - "fmt" . "./example" + "fmt" ) func main() { diff --git a/Examples/go/variables/runme.go b/Examples/go/variables/runme.go index 26cad4b3c..3d9737f5c 100644 --- a/Examples/go/variables/runme.go +++ b/Examples/go/variables/runme.go @@ -3,8 +3,8 @@ package main import ( - "fmt" "./example" + "fmt" ) func main() { diff --git a/Examples/test-suite/go/constover_runme.go b/Examples/test-suite/go/constover_runme.go index e649140a6..f961e01b5 100644 --- a/Examples/test-suite/go/constover_runme.go +++ b/Examples/test-suite/go/constover_runme.go @@ -1,9 +1,9 @@ package main import ( + "./constover" "fmt" "os" - "./constover" ) func main() { diff --git a/Examples/test-suite/go/template_typedef_cplx3_runme.go b/Examples/test-suite/go/template_typedef_cplx3_runme.go index f827d7a1e..d616777e0 100644 --- a/Examples/test-suite/go/template_typedef_cplx3_runme.go +++ b/Examples/test-suite/go/template_typedef_cplx3_runme.go @@ -5,7 +5,6 @@ import . "./template_typedef_cplx3" func main() { // this is OK - s := NewSin() s.Get_base_value() s.Get_value() diff --git a/Examples/test-suite/go/template_typedef_cplx4_runme.go b/Examples/test-suite/go/template_typedef_cplx4_runme.go index 9021cf135..3e536d6f2 100644 --- a/Examples/test-suite/go/template_typedef_cplx4_runme.go +++ b/Examples/test-suite/go/template_typedef_cplx4_runme.go @@ -5,7 +5,6 @@ import . "./template_typedef_cplx4" func main() { // this is OK - s := NewSin() s.Get_base_value() s.Get_value() diff --git a/Examples/test-suite/go/template_typedef_import_runme.go b/Examples/test-suite/go/template_typedef_import_runme.go index 8528b9a93..f1c00ff13 100644 --- a/Examples/test-suite/go/template_typedef_import_runme.go +++ b/Examples/test-suite/go/template_typedef_import_runme.go @@ -6,7 +6,6 @@ import "template_typedef_import" func main() { // this is OK - s := template_typedef_import.NewSin() s.Get_base_value() s.Get_value()