]> Cypherpunks repositories - gostls13.git/commitdiff
misc/cgo: gofmt testdata files
authorTobias Klauser <tklauser@distanz.ch>
Thu, 21 Mar 2019 12:30:25 +0000 (13:30 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Fri, 22 Mar 2019 07:21:24 +0000 (07:21 +0000)
Change-Id: I64e05a1f768cb57194506021bb7fdca0ad19bf1c
Reviewed-on: https://go-review.googlesource.com/c/go/+/168461
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/testplugin/testdata/iface/main.go
misc/cgo/testplugin/testdata/plugin1/plugin1.go
misc/cgo/testplugin/testdata/plugin2/plugin2.go
misc/cgo/testshared/testdata/exe/exe.go

index 7b4ea974420a504cf8866973f91ada8465bd1438..c04f28880f5d427c40f618cbb54d91feb52da091 100644 (file)
@@ -5,9 +5,10 @@
 package main
 
 import (
-       "testplugin/iface_i"
        "log"
        "plugin"
+
+       "testplugin/iface_i"
 )
 
 func main() {
index 136c179b65cdff1973485dcf72228dd5fc14ad68..d29d674ade072885c7ca314f0a29c693fcd5d1ff 100644 (file)
@@ -8,8 +8,9 @@ package main
 import "C"
 
 import (
-       "testplugin/common"
        "reflect"
+
+       "testplugin/common"
 )
 
 func F() int {
index 37168a13e123025d738996ddfd87d7b3b8fc1dd7..31ed642ca5bb5fbe6f251be440f70308d131a5dd 100644 (file)
@@ -12,9 +12,10 @@ import "C"
 // void cfunc() {} // uses cgo_topofstack
 
 import (
-       "testplugin/common"
        "reflect"
        "strings"
+
+       "testplugin/common"
 )
 
 func init() {
index 86582581a6b1e082ed18c43a1e71d25f68f24646..ee95f97bc99edbe6b946b18043c6d45c734fcebb 100644 (file)
@@ -1,10 +1,11 @@
 package main
 
 import (
-       "testshared/depBase"
        "os"
        "reflect"
        "runtime"
+
+       "testshared/depBase"
 )
 
 // Having a function declared in the main package triggered