diff options
author | rw <me@rwinslow.com> | 2015-05-09 16:10:03 -0700 |
---|---|---|
committer | rw <me@rwinslow.com> | 2015-05-09 16:10:03 -0700 |
commit | e11da87a24f51d651e54bb5769c892b9c183516b (patch) | |
tree | 94b9ecdc1b424ac8106b90101e4d547687c2c9ab /go | |
parent | 3dd54424c031ab91050760c0816f779bd4ccc76c (diff) | |
download | flatbuffers-e11da87a24f51d651e54bb5769c892b9c183516b.tar.gz flatbuffers-e11da87a24f51d651e54bb5769c892b9c183516b.tar.bz2 flatbuffers-e11da87a24f51d651e54bb5769c892b9c183516b.zip |
gofmt
Diffstat (limited to 'go')
-rw-r--r-- | go/builder.go | 4 |
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 } } |