apply gofmt to json files

R=rsc
https://golang.org/cl/164071
This commit is contained in:
Robert Griesemer 2009-12-02 11:40:54 -08:00
parent 114f73f822
commit d8bc797ed5
2 changed files with 3 additions and 5 deletions

View file

@ -51,9 +51,7 @@ func (j *decoder) Int64(i int64) { j.value = float64(i) }
func (j *decoder) Uint64(i uint64) { j.value = float64(i) } func (j *decoder) Uint64(i uint64) { j.value = float64(i) }
func (j *decoder) Float64(f float64) { func (j *decoder) Float64(f float64) { j.value = float64(f) }
j.value = float64(f)
}
func (j *decoder) String(s string) { j.value = s } func (j *decoder) String(s string) { j.value = s }

View file

@ -104,8 +104,8 @@ func assertResult(t *testing.T, results, expected interface{}) {
} }
type decodeTest struct { type decodeTest struct {
s string; s string;
r interface{}; r interface{};
} }
var tests = []decodeTest{ var tests = []decodeTest{