aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/gofmt
AgeCommit message (Expand)Author
2021-12-13all: gofmt -w -r 'interface{} -> any' srcRuss Cox
2021-10-28go/types, types2, go/ast, go/parser: remove support for type listsRobert Findley
2021-10-26all: use reflect.{Pointer,PointerTo}Cuong Manh Le
2021-09-24cmd/gofmt: format files in parallelDaniel Martí
2021-06-22[dev.typeparams] cmd/gofmt: remove typeparams guardsRob Findley
2021-04-30cmd/gofmt: always format non-directory arguments againDaniel Martí
2021-04-28cmd/gofmt: simplify arg handlingDaniel Martí
2021-04-13go/*,cmd/gofmt: guard AST changes with the typeparams build tagRob Findley
2021-03-10cmd/gofmt: fix const association to avoid inaccurate commentRob Findley
2021-03-02go/parser,go/types: hide API changes related to type parametersRob Findley
2021-02-10[dev.typeparams] cmd/gofmt: add the -G flag to allow generic codeRob Findley
2020-12-09all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTempRuss Cox
2020-12-02all: update to use filepath.WalkDir instead of filepath.WalkRuss Cox
2020-10-20all: update references to symbols moved from io/ioutil to ioRuss Cox
2020-10-20all: update references to symbols moved from os to io/fsRuss Cox
2020-07-17go/printer: remove exported StdFormat flagDmitri Shuralyov
2020-05-01cmd/gofmt, go/format, go/printer: move number normalization to printerDmitri Shuralyov
2020-02-28cmd/gofmt, go/format: sync internal.goDmitri Shuralyov
2019-10-28cmd/fix, cmd/go, cmd/gofmt: refactor common code into new internal diff packageMikhail Fesenko
2019-10-28go/ast: fix SortImports to handle block comments (take 2)Agniva De Sarker
2019-09-24cmd/gofmt: fix computation of function header sizeEli Bendersky
2019-09-11cmd/gofmt: don't turn nil slices into empty slices during rewritingDominik Honnef
2019-08-16cmd/gofmt: update TestRewrite to avoid future regressionsJoe Tsai
2019-08-08Revert "go/ast: fix SortImports to handle block comments"Joe Tsai
2019-06-21cmd/gofmt: fix normalization of imaginary number literalsRobert Griesemer
2019-03-28go/ast: fix SortImports to handle block commentsAgniva De Sarker
2019-02-19cmd/gofmt: normalize integer imaginary literals starting with 0Robert Griesemer
2019-02-11cmd/gofmt: normalize number prefixes and exponentsRobert Griesemer
2019-02-11cmd/gofmt: test that Go 2 number literals can be formattedRobert Griesemer
2018-09-26all: use strings.ReplaceAll and bytes.ReplaceAll where applicableBrad Fitzpatrick
2018-08-22cmd/gofmt: update error handling when writing to backup fileShivansh Rai
2018-08-21cmd/gofmt: skip gofmt idempotency check on known issueAlberto Donizetti
2017-03-30cmd/fix,cmd/gofmt: flush to disk before diffingEgon Elbre
2017-03-20cmd/gofmt: clarify doc string even moreRobert Griesemer
2017-03-20cmd/gofmt: clarify documentation re: tab widthRobert Griesemer
2017-03-18cmd/gofmt: unindent the second line of a BUG noteDamien Lespiau
2017-02-08cmd/gofmt: fix diff on Plan 9David du Colombier
2017-02-08cmd/gofmt: use actual filename in gofmt -d outputhaya14busa
2017-02-08cmd/gofmt: clear pattern match map at the correct timeMatthew Dempsky
2017-01-10[dev.typealias] cmd/gofmt: added test cases for alias type declarationsRobert Griesemer
2016-11-23cmd/gofmt: don't call Chmod on windowsBrad Fitzpatrick
2016-11-11cmd/gofmt, crypto/tls: fix typosKevin Burke
2016-11-10cmd/gofmt: don't overwrite read-only filesRobert Griesemer
2016-11-10cmd/gofmt: don't leave tmp file if -w failedRobert Griesemer
2016-11-10cmd/gofmt: don't eat source if -w failsRobert Griesemer
2016-10-12cmd/gofmt: simplify map key literalsGustav Westling
2016-07-11gofmt: remove unneeded call to os.ExitFrancesc Campoy
2016-04-06cmd/gofmt: make gofmt -s simplify slices in presence of dot-importsRobert Griesemer
2016-04-01all: use bytes.Equal, bytes.Contains and strings.ContainsDominik Honnef
2016-03-02all: single space after period.Brad Fitzpatrick