Skip to content

Commit 9a49b17

Browse files
committed
misc/cgo: gofmt testdata files
Change-Id: I64e05a1f768cb57194506021bb7fdca0ad19bf1c Reviewed-on: https://go-review.googlesource.com/c/go/+/168461 Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 9f56845 commit 9a49b17

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

misc/cgo/testplugin/testdata/iface/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
package main
66

77
import (
8-
"testplugin/iface_i"
98
"log"
109
"plugin"
10+
11+
"testplugin/iface_i"
1112
)
1213

1314
func main() {

misc/cgo/testplugin/testdata/plugin1/plugin1.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ package main
88
import "C"
99

1010
import (
11-
"testplugin/common"
1211
"reflect"
12+
13+
"testplugin/common"
1314
)
1415

1516
func F() int {

misc/cgo/testplugin/testdata/plugin2/plugin2.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ import "C"
1212
// void cfunc() {} // uses cgo_topofstack
1313

1414
import (
15-
"testplugin/common"
1615
"reflect"
1716
"strings"
17+
18+
"testplugin/common"
1819
)
1920

2021
func init() {

misc/cgo/testshared/testdata/exe/exe.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package main
22

33
import (
4-
"testshared/depBase"
54
"os"
65
"reflect"
76
"runtime"
7+
8+
"testshared/depBase"
89
)
910

1011
// Having a function declared in the main package triggered

0 commit comments

Comments
 (0)