summaryrefslogtreecommitdiff
path: root/src/pkg/json/struct.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-11-05 15:37:55 -0800
committerRobert Griesemer <gri@golang.org>2009-11-05 15:37:55 -0800
commit6e5de3ccfb44b61886265a3b9e4dacbe5c4a3354 (patch)
tree51e2461a5ad1b22760acca7b52c955e16f2d4b69 /src/pkg/json/struct.go
parent511fc8c45f93012d4f7038e6c10eb64c825820f0 (diff)
downloadgolang-6e5de3ccfb44b61886265a3b9e4dacbe5c4a3354.tar.gz
gofmt-ify io, json, runtime, encoding
R=rsc http://go/go-review/1017056
Diffstat (limited to 'src/pkg/json/struct.go')
-rw-r--r--src/pkg/json/struct.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/pkg/json/struct.go b/src/pkg/json/struct.go
index 03e2966c8..11cccdce9 100644
--- a/src/pkg/json/struct.go
+++ b/src/pkg/json/struct.go
@@ -13,11 +13,11 @@ import (
)
type structBuilder struct {
- val reflect.Value;
+ val reflect.Value;
// if map_ != nil, write val to map_[key] on each change
- map_ *reflect.MapValue;
- key reflect.Value;
+ map_ *reflect.MapValue;
+ key reflect.Value;
}
var nobuilder *structBuilder
@@ -113,7 +113,8 @@ func (b *structBuilder) Float64(f float64) {
}
}
-func (b *structBuilder) Null() {}
+func (b *structBuilder) Null() {
+}
func (b *structBuilder) String(s string) {
if b == nil {