Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountPrint ¶ added in v0.1.0
Types ¶
type RegionTracker ¶ added in v0.1.7
type RegionTracker struct {
// contains filtered or unexported fields
}
RegionTracker encapsulates region iteration progress tracking state.
func NewRegionTracker ¶ added in v0.1.7
func NewRegionTracker() *RegionTracker
NewRegionTracker creates a new RegionTracker instance.
func (*RegionTracker) Count ¶ added in v0.1.7
func (t *RegionTracker) Count() int
Count returns the total count of items found across all regions.
func (*RegionTracker) Finish ¶ added in v0.1.7
func (t *RegionTracker) Finish()
Finish cleans up the progress line if needed. Should be called with defer after creating the tracker.
func (*RegionTracker) Update ¶ added in v0.1.7
func (t *RegionTracker) Update(region string, newItems int)
Update prints progress for a region and updates internal state. newItems is the count of items found in this region.
Click to show internal directories.
Click to hide internal directories.