gofmt: experiment: align values in map composites where possible

- gofmt -w src misc
- looking for feedback

R=rsc, r
CC=golang-dev
https://golang.org/cl/223076
This commit is contained in:
Robert Griesemer 2010-03-02 13:46:51 -08:00
parent 36ea8bb7bf
commit f44fa9b4c7
72 changed files with 1870 additions and 1836 deletions

View file

@ -580,15 +580,15 @@ func TestEndToEnd(t *testing.T) {
t *T2
}
t1 := &T1{
a: 17,
b: 18,
c: -5,
n: &[3]float{1.5, 2.5, 3.5},
strs: &[2]string{s1, s2},
a: 17,
b: 18,
c: -5,
n: &[3]float{1.5, 2.5, 3.5},
strs: &[2]string{s1, s2},
int64s: &[]int64{77, 89, 123412342134},
s: "Now is the time",
y: []byte("hello, sailor"),
t: &T2{"this is T2"},
s: "Now is the time",
y: []byte("hello, sailor"),
t: &T2{"this is T2"},
}
b := new(bytes.Buffer)
err := NewEncoder(b).Encode(t1)