<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/go-git.git/src/cmd/gofmt/testdata/composites.input, branch dev.inline</title>
<subtitle>github.com: golang/go
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/'/>
<entry>
<title>cmd/gofmt: simplify map key literals</title>
<updated>2016-10-12T03:55:43+00:00</updated>
<author>
<name>Gustav Westling</name>
<email>gustav@westling.xyz</email>
</author>
<published>2016-08-05T14:13:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=56b5546b9138f80bb0b20aebcc1fa551096e87df'/>
<id>56b5546b9138f80bb0b20aebcc1fa551096e87df</id>
<content type='text'>
Simplify map key literals in "gofmt -s"

Fixes #16461.

Change-Id: Ia61739b34a30ac27f6696f94a98809109a8a7b61
Reviewed-on: https://go-review.googlesource.com/25530
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simplify map key literals in "gofmt -s"

Fixes #16461.

Change-Id: Ia61739b34a30ac27f6696f94a98809109a8a7b61
Reviewed-on: https://go-review.googlesource.com/25530
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/gofmt: make test files self-describing</title>
<updated>2014-08-22T00:25:13+00:00</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2014-08-22T00:25:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=67812a7cd90c22d9b121f747ad27c4f527767ad5'/>
<id>67812a7cd90c22d9b121f747ad27c4f527767ad5</id>
<content type='text'>
1) Interpret a comment of the form

//gofmt &lt;flags&gt;

in test files to drive the respective
gofmt command. Eliminates the need to
enumerate all test files in the test
harness.

2) Added -update flag to make it easier
to update test cases.

LGTM=josharian
R=golang-codereviews, josharian
CC=golang-codereviews
https://golang.org/cl/130440043
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1) Interpret a comment of the form

//gofmt &lt;flags&gt;

in test files to drive the respective
gofmt command. Eliminates the need to
enumerate all test files in the test
harness.

2) Added -update flag to make it easier
to update test cases.

LGTM=josharian
R=golang-codereviews, josharian
CC=golang-codereviews
https://golang.org/cl/130440043
</pre>
</div>
</content>
</entry>
<entry>
<title>gofmt: handle &amp;T in composite literal simplify</title>
<updated>2011-12-02T19:14:04+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2011-12-02T19:14:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=0dab624b70273d4c32b70a5076c2a054c5a274dd'/>
<id>0dab624b70273d4c32b70a5076c2a054c5a274dd</id>
<content type='text'>
R=gri
CC=golang-dev
https://golang.org/cl/5448086
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=gri
CC=golang-dev
https://golang.org/cl/5448086
</pre>
</div>
</content>
</entry>
<entry>
<title>go ast/parser/printer: permit elision of composite literal types for composite literal elements</title>
<updated>2010-10-22T17:03:14+00:00</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2010-10-22T17:03:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/go-git.git/commit/?id=f613015e0eeb9560579bf40dbdb40fac5e371bbc'/>
<id>f613015e0eeb9560579bf40dbdb40fac5e371bbc</id>
<content type='text'>
gofmt: added -s flag to simplify composite literal expressions through type elision where possible

R=rsc
CC=golang-dev
https://golang.org/cl/2319041
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gofmt: added -s flag to simplify composite literal expressions through type elision where possible

R=rsc
CC=golang-dev
https://golang.org/cl/2319041
</pre>
</div>
</content>
</entry>
</feed>
