mirror of
https://github.com/golang/go.git
synced 2024-09-21 10:28:27 +00:00
all: run gofmt
Fixes #44980
Change-Id: Icef35319d1582d8367c8911e15d11b0224957327
GitHub-Last-Rev: 2113e97e83
GitHub-Pull-Request: golang/go#45005
Reviewed-on: https://go-review.googlesource.com/c/go/+/301632
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
e61c9ddb7f
commit
de2b27dee7
2
misc/cgo/testplugin/testdata/method2/main.go
vendored
2
misc/cgo/testplugin/testdata/method2/main.go
vendored
@ -15,7 +15,7 @@ import (
|
||||
|
||||
var t p.T
|
||||
|
||||
type I interface { M() }
|
||||
type I interface{ M() }
|
||||
|
||||
func main() {
|
||||
pl, err := plugin.Open("method2.so")
|
||||
|
2
src/cmd/cover/testdata/toolexec.go
vendored
2
src/cmd/cover/testdata/toolexec.go
vendored
@ -15,8 +15,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
exec "internal/execabs"
|
||||
"os"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
2
src/cmd/go/testdata/addmod.go
vendored
2
src/cmd/go/testdata/addmod.go
vendored
@ -22,10 +22,10 @@ import (
|
||||
"bytes"
|
||||
"flag"
|
||||
"fmt"
|
||||
exec "internal/execabs"
|
||||
"io/fs"
|
||||
"log"
|
||||
"os"
|
||||
exec "internal/execabs"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
|
@ -1538,7 +1538,6 @@ func (ctxt *Link) doelf() {
|
||||
addgonote(ctxt, ".note.go.buildid", ELF_NOTE_GOBUILDID_TAG, []byte(*flagBuildid))
|
||||
}
|
||||
|
||||
|
||||
//type mipsGnuAttributes struct {
|
||||
// version uint8 // 'A'
|
||||
// length uint32 // 15 including itself
|
||||
|
@ -14,7 +14,7 @@ type S int
|
||||
|
||||
func (s S) M() { println("S.M") }
|
||||
|
||||
type I interface { M() }
|
||||
type I interface{ M() }
|
||||
|
||||
type T float64
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user