Move 'err' to the end of the struct

This commit is contained in:
Andrew Dunham 2015-04-15 16:49:47 -07:00
parent c9de029225
commit 8abb3807cb

View file

@ -46,11 +46,11 @@ type Iterator struct {
dir quad.Direction dir quad.Direction
qs *QuadStore qs *QuadStore
result *Token result *Token
err error
buffer [][]byte buffer [][]byte
offset int offset int
done bool done bool
size int64 size int64
err error
} }
func NewIterator(bucket []byte, d quad.Direction, value graph.Value, qs *QuadStore) *Iterator { func NewIterator(bucket []byte, d quad.Direction, value graph.Value, qs *QuadStore) *Iterator {