summaryrefslogtreecommitdiff
path: root/src/cmd/gofmt
Commit message (Expand)AuthorAgeFilesLines
* [dev.typeparams] cmd/gofmt: remove typeparams guardsRob Findley2021-06-225-24/+2
* cmd/gofmt: always format non-directory arguments againDaniel Martí2021-04-301-1/+12
* cmd/gofmt: simplify arg handlingDaniel Martí2021-04-281-21/+8
* go/*,cmd/gofmt: guard AST changes with the typeparams build tagRob Findley2021-04-133-17/+9
* cmd/gofmt: fix const association to avoid inaccurate commentRob Findley2021-03-101-4/+4
* go/parser,go/types: hide API changes related to type parametersRob Findley2021-03-023-10/+30
* [dev.typeparams] cmd/gofmt: add the -G flag to allow generic codeRob Findley2021-02-105-6/+82
* all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTempRuss Cox2020-12-092-10/+8
* all: update to use filepath.WalkDir instead of filepath.WalkRuss Cox2020-12-022-7/+16
* all: update references to symbols moved from io/ioutil to ioRuss Cox2020-10-201-1/+1
* all: update references to symbols moved from os to io/fsRuss Cox2020-10-202-5/+7
* go/printer: remove exported StdFormat flagDmitri Shuralyov2020-07-171-1/+7
* cmd/gofmt, go/format, go/printer: move number normalization to printerDmitri Shuralyov2020-05-011-56/+2
* cmd/gofmt, go/format: sync internal.goDmitri Shuralyov2020-02-281-4/+4
* cmd/fix, cmd/go, cmd/gofmt: refactor common code into new internal diff packageMikhail Fesenko2019-10-282-42/+8
* go/ast: fix SortImports to handle block comments (take 2)Agniva De Sarker2019-10-282-8/+136
* cmd/gofmt: fix computation of function header sizeEli Bendersky2019-09-242-0/+26
* cmd/gofmt: don't turn nil slices into empty slices during rewritingDominik Honnef2019-09-113-0/+44
* cmd/gofmt: update TestRewrite to avoid future regressionsJoe Tsai2019-08-162-0/+8
* Revert "go/ast: fix SortImports to handle block comments"Joe Tsai2019-08-082-122/+0
* cmd/gofmt: fix normalization of imaginary number literalsRobert Griesemer2019-06-213-47/+62
* go/ast: fix SortImports to handle block commentsAgniva De Sarker2019-03-282-0/+122
* cmd/gofmt: normalize integer imaginary literals starting with 0Robert Griesemer2019-02-193-14/+63
* cmd/gofmt: normalize number prefixes and exponentsRobert Griesemer2019-02-113-39/+90
* cmd/gofmt: test that Go 2 number literals can be formattedRobert Griesemer2019-02-112-0/+312
* all: use strings.ReplaceAll and bytes.ReplaceAll where applicableBrad Fitzpatrick2018-09-261-1/+1
* cmd/gofmt: update error handling when writing to backup fileShivansh Rai2018-08-221-4/+1
* cmd/gofmt: skip gofmt idempotency check on known issueAlberto Donizetti2018-08-211-0/+6
* cmd/fix,cmd/gofmt: flush to disk before diffingEgon Elbre2017-03-302-13/+27
* cmd/gofmt: clarify doc string even moreRobert Griesemer2017-03-201-3/+1
* cmd/gofmt: clarify documentation re: tab widthRobert Griesemer2017-03-201-1/+4
* cmd/gofmt: unindent the second line of a BUG noteDamien Lespiau2017-03-181-1/+1
* cmd/gofmt: fix diff on Plan 9David du Colombier2017-02-081-1/+6
* cmd/gofmt: use actual filename in gofmt -d outputhaya14busa2017-02-082-4/+97
* cmd/gofmt: clear pattern match map at the correct timeMatthew Dempsky2017-02-083-1/+23
* [dev.typealias] cmd/gofmt: added test cases for alias type declarationsRobert Griesemer2017-01-102-0/+48
* cmd/gofmt: don't call Chmod on windowsBrad Fitzpatrick2016-11-232-5/+23
* cmd/gofmt, crypto/tls: fix typosKevin Burke2016-11-111-2/+2
* cmd/gofmt: don't overwrite read-only filesRobert Griesemer2016-11-102-22/+33
* cmd/gofmt: don't leave tmp file if -w failedRobert Griesemer2016-11-101-4/+9
* cmd/gofmt: don't eat source if -w failsRobert Griesemer2016-11-101-1/+33
* cmd/gofmt: simplify map key literalsGustav Westling2016-10-123-24/+64
* gofmt: remove unneeded call to os.ExitFrancesc Campoy2016-07-111-1/+0
* cmd/gofmt: make gofmt -s simplify slices in presence of dot-importsRobert Griesemer2016-04-063-144/+10
* all: use bytes.Equal, bytes.Contains and strings.ContainsDominik Honnef2016-04-011-2/+2
* all: single space after period.Brad Fitzpatrick2016-03-022-4/+4
* all: make copyright headers consistent with one space after periodBrad Fitzpatrick2016-03-011-1/+1
* cmd/gofmt: Ignore file not found errors.Benoit Sigoure2016-02-191-1/+3
* go/parser, go/types: report invalid else branch in if statementsRobert Griesemer2015-12-072-17/+0
* go/format: handle whitespace-only input correctlyRobert Griesemer2015-09-301-1/+11