/build/blueprint/ |
.travis.gofmt.sh | 3 if [ -n "$(gofmt -l .)" ]; then 5 gofmt -d .
|
/prebuilts/go/darwin-x86/src/cmd/go/ |
mkalldocs.sh | 10 gofmt -w alldocs.go
|
/prebuilts/go/linux-x86/src/cmd/go/ |
mkalldocs.sh | 10 gofmt -w alldocs.go
|
/prebuilts/go/darwin-x86/src/cmd/go/internal/fmtcmd/ |
fmt.go | 28 Short: "gofmt (reformat) package sources", 30 Fmt runs the command 'gofmt -l -w' on the packages named 33 For more about gofmt, see 'go doc cmd/gofmt'. 39 To run gofmt with specific options, run gofmt itself. 46 gofmt := gofmtPath() 55 base.Run(str.StringList(gofmt, "-l", "-w", file)) 82 gofmt := "gofmt" [all...] |
/prebuilts/go/linux-x86/src/cmd/go/internal/fmtcmd/ |
fmt.go | 28 Short: "gofmt (reformat) package sources", 30 Fmt runs the command 'gofmt -l -w' on the packages named 33 For more about gofmt, see 'go doc cmd/gofmt'. 39 To run gofmt with specific options, run gofmt itself. 46 gofmt := gofmtPath() 55 base.Run(str.StringList(gofmt, "-l", "-w", file)) 82 gofmt := "gofmt" [all...] |
/prebuilts/go/darwin-x86/misc/git/ |
pre-commit | 6 # git gofmt pre-commit hook 16 unformatted=$(gofmt -l $gofiles) 19 # Some files are not gofmt'd. Print message and fail. 21 echo >&2 "Go files must be formatted with gofmt. Please run:" 23 echo >&2 " gofmt -w $PWD/$fn"
|
/prebuilts/go/linux-x86/misc/git/ |
pre-commit | 6 # git gofmt pre-commit hook 16 unformatted=$(gofmt -l $gofiles) 19 # Some files are not gofmt'd. Print message and fail. 21 echo >&2 "Go files must be formatted with gofmt. Please run:" 23 echo >&2 " gofmt -w $PWD/$fn"
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/arm/armasm/ |
Makefile | 2 go run ../armmap/map.go -fmt=decoder ../arm.csv >_tables.go && gofmt _tables.go >tables.go && rm _tables.go
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/ |
Makefile | 2 go run ../x86map/map.go -fmt=decoder ../x86.csv >_tables.go && gofmt _tables.go >tables.go && rm _tables.go
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/arm/armasm/ |
Makefile | 2 go run ../armmap/map.go -fmt=decoder ../arm.csv >_tables.go && gofmt _tables.go >tables.go && rm _tables.go
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/ |
Makefile | 2 go run ../x86map/map.go -fmt=decoder ../x86.csv >_tables.go && gofmt _tables.go >tables.go && rm _tables.go
|
/prebuilts/go/darwin-x86/src/cmd/gofmt/ |
doc.go | 6 Gofmt formats Go programs. 13 By default, gofmt prints the reformatted sources to standard output. 16 gofmt [flags] [path ...] 21 If a file's formatting is different than gofmt's, print diffs 27 If a file's formatting is different from gofmt's, print its name 35 If a file's formatting is different from gofmt's, overwrite it 36 with gofmt's version. If an error occurred during overwriting, 53 When gofmt reads from standard input, it accepts either a full Go program 56 such a fragment, gofmt preserves leading indentation as well as leading 58 formatted by piping them through gofmt [all...] |
long_test.go | 5 // This test applies gofmt to all Go files under -root. 7 // filenames via the -files flag: go test -files=gofmt.go . 34 func gofmt(fset *token.FileSet, filename string, src *bytes.Buffer) error { func 70 // gofmt file 71 if err = gofmt(fset, filename, b1); err != nil { 72 t.Errorf("1st gofmt failed: %v", err) 80 // gofmt result again 81 if err = gofmt(fset, filename, b2); err != nil { 82 t.Errorf("2nd gofmt failed: %v", err) 88 t.Errorf("gofmt %s not idempotent", filename [all...] |
gofmt_test.go | 24 // //gofmt flags 42 // look for //gofmt comment 46 const prefix = "//gofmt " 114 t.Errorf("(gofmt %s) != %s (see %s.gofmt)", in, out, in) 119 if err := ioutil.WriteFile(in+".gofmt", got, 0666); err != nil { 126 // corresponding testdata/*.golden files. The gofmt flags used to process 129 // //gofmt flags 140 match = append(match, "gofmt.go", "gofmt_test.go")
|
/prebuilts/go/linux-x86/src/cmd/gofmt/ |
doc.go | 6 Gofmt formats Go programs. 13 By default, gofmt prints the reformatted sources to standard output. 16 gofmt [flags] [path ...] 21 If a file's formatting is different than gofmt's, print diffs 27 If a file's formatting is different from gofmt's, print its name 35 If a file's formatting is different from gofmt's, overwrite it 36 with gofmt's version. If an error occurred during overwriting, 53 When gofmt reads from standard input, it accepts either a full Go program 56 such a fragment, gofmt preserves leading indentation as well as leading 58 formatted by piping them through gofmt [all...] |
long_test.go | 5 // This test applies gofmt to all Go files under -root. 7 // filenames via the -files flag: go test -files=gofmt.go . 34 func gofmt(fset *token.FileSet, filename string, src *bytes.Buffer) error { func 70 // gofmt file 71 if err = gofmt(fset, filename, b1); err != nil { 72 t.Errorf("1st gofmt failed: %v", err) 80 // gofmt result again 81 if err = gofmt(fset, filename, b2); err != nil { 82 t.Errorf("2nd gofmt failed: %v", err) 88 t.Errorf("gofmt %s not idempotent", filename [all...] |
gofmt_test.go | 24 // //gofmt flags 42 // look for //gofmt comment 46 const prefix = "//gofmt " 114 t.Errorf("(gofmt %s) != %s (see %s.gofmt)", in, out, in) 119 if err := ioutil.WriteFile(in+".gofmt", got, 0666); err != nil { 126 // corresponding testdata/*.golden files. The gofmt flags used to process 129 // //gofmt flags 140 match = append(match, "gofmt.go", "gofmt_test.go")
|
/prebuilts/go/darwin-x86/src/cmd/vet/ |
atomic.go | 61 broken = f.gofmt(left) == f.gofmt(uarg.X) 63 broken = f.gofmt(star.X) == f.gofmt(arg)
|
assign.go | 44 continue // short-circuit the heavy-weight gofmt check 46 le := f.gofmt(lhs) 47 re := f.gofmt(rhs)
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
atomic.go | 61 broken = f.gofmt(left) == f.gofmt(uarg.X) 63 broken = f.gofmt(star.X) == f.gofmt(arg)
|
assign.go | 44 continue // short-circuit the heavy-weight gofmt check 46 le := f.gofmt(lhs) 47 re := f.gofmt(rhs)
|
/external/flatbuffers/tests/ |
GoTest.sh | 65 NOT_FMT_FILES=$(gofmt -l MyGame) 67 echo "These files are not well gofmt'ed:\n\n${NOT_FMT_FILES}"
|
/prebuilts/go/darwin-x86/src/cmd/cgo/ |
godefs.go | 108 id.Name = gofmt(def) 120 // gofmt returns the gofmt-formatted string for an AST node. 121 func gofmt(n interface{}) string { func
|
/prebuilts/go/linux-x86/src/cmd/cgo/ |
godefs.go | 108 id.Name = gofmt(def) 120 // gofmt returns the gofmt-formatted string for an AST node. 121 func gofmt(n interface{}) string { func
|
/external/golang-protobuf/protoc-gen-go/testdata/ |
Makefile | 51 gofmt -w my_test/test.pb.go
|