From c73fc795da203aaec96d99700171e3b9ef5959fe Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Thu, 5 Jul 2018 22:02:03 -0500 Subject: [PATCH] Unexport roaring.BitmapInfo --- roaring/roaring.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roaring/roaring.go b/roaring/roaring.go index 07f1600a7..1e0f72a83 100644 --- a/roaring/roaring.go +++ b/roaring/roaring.go @@ -725,8 +725,8 @@ func (b *Bitmap) Iterator() *Iterator { } // Info returns stats for the bitmap. -func (b *Bitmap) Info() BitmapInfo { - info := BitmapInfo{ +func (b *Bitmap) Info() bitmapInfo { + info := bitmapInfo{ OpN: b.opN, Containers: make([]ContainerInfo, 0, b.Containers.Size()), } @@ -788,8 +788,8 @@ func (b *Bitmap) Flip(start, end uint64) *Bitmap { return result } -// BitmapInfo represents a point-in-time snapshot of bitmap stats. -type BitmapInfo struct { +// bitmapInfo represents a point-in-time snapshot of bitmap stats. +type bitmapInfo struct { OpN int Containers []ContainerInfo }