Skip to content

Consume int for new progress bar  #129

@mih-kopylov

Description

@mih-kopylov

When creating a new progress bar based on some collection length, it requires casting to int64.

bar := progressbar.Default(int64(len(sets.Repos)))

Not really nice, though I understand why it's int64 there.

Is there a change to consume int aside of int64?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions