// ReadArray read array element, tells if the array has more element to read. func (iter *Iterator) ReadArray() (ret bool) { … } // ReadArrayCB read array with callback func (iter *Iterator) ReadArrayCB(callback func(*Iterator) bool) (ret bool) { … }