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:
Prajwal Koirala 2021-03-15 06:13:23 +00:00 committed by Ian Lance Taylor
parent e61c9ddb7f
commit de2b27dee7
8 changed files with 47 additions and 48 deletions

View File

@ -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")

View File

@ -15,8 +15,8 @@
package main
import (
"os"
exec "internal/execabs"
"os"
"strings"
)

View File

@ -22,10 +22,10 @@ import (
"bytes"
"flag"
"fmt"
exec "internal/execabs"
"io/fs"
"log"
"os"
exec "internal/execabs"
"path/filepath"
"strings"

View File

@ -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

View File

@ -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