summaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
authorrw <me@rwinslow.com>2015-05-09 16:10:03 -0700
committerrw <me@rwinslow.com>2015-05-09 16:10:03 -0700
commite11da87a24f51d651e54bb5769c892b9c183516b (patch)
tree94b9ecdc1b424ac8106b90101e4d547687c2c9ab /go
parent3dd54424c031ab91050760c0816f779bd4ccc76c (diff)
downloadflatbuffers-e11da87a24f51d651e54bb5769c892b9c183516b.tar.gz
flatbuffers-e11da87a24f51d651e54bb5769c892b9c183516b.tar.bz2
flatbuffers-e11da87a24f51d651e54bb5769c892b9c183516b.zip
gofmt
Diffstat (limited to 'go')
-rw-r--r--go/builder.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/builder.go b/go/builder.go
index a61448d5..0484af7b 100644
--- a/go/builder.go
+++ b/go/builder.go
@@ -58,7 +58,7 @@ func (b *Builder) StartObject(numfields int) {
b.vtable = make([]UOffsetT, numfields)
} else {
b.vtable = b.vtable[:numfields]
- for i := 0 ; i < len(b.vtable) ; i++ {
+ for i := 0; i < len(b.vtable); i++ {
b.vtable[i] = 0
}
}
@@ -196,7 +196,7 @@ func (b *Builder) growByteBuffer() {
middle := newLen / 2
copy(b.Bytes[middle:], b.Bytes[:middle])
- for i := 0 ; i < middle; i++ {
+ for i := 0; i < middle; i++ {
b.Bytes[i] = 0
}
}