Commit 9a49b17f authored by Tobias Klauser's avatar Tobias Klauser Committed by Tobias Klauser

misc/cgo: gofmt testdata files

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: default avatarIan Lance Taylor <iant@golang.org>
parent 9f56845f
...@@ -5,9 +5,10 @@ ...@@ -5,9 +5,10 @@
package main package main
import ( import (
"testplugin/iface_i"
"log" "log"
"plugin" "plugin"
"testplugin/iface_i"
) )
func main() { func main() {
......
...@@ -8,8 +8,9 @@ package main ...@@ -8,8 +8,9 @@ package main
import "C" import "C"
import ( import (
"testplugin/common"
"reflect" "reflect"
"testplugin/common"
) )
func F() int { func F() int {
......
...@@ -12,9 +12,10 @@ import "C" ...@@ -12,9 +12,10 @@ import "C"
// void cfunc() {} // uses cgo_topofstack // void cfunc() {} // uses cgo_topofstack
import ( import (
"testplugin/common"
"reflect" "reflect"
"strings" "strings"
"testplugin/common"
) )
func init() { func init() {
......
package main package main
import ( import (
"testshared/depBase"
"os" "os"
"reflect" "reflect"
"runtime" "runtime"
"testshared/depBase"
) )
// Having a function declared in the main package triggered // Having a function declared in the main package triggered
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment