Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Apr 11, 2020
1 parent f75f705 commit 9348fe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions progressbar.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,12 +343,12 @@ func New64(max int64) *ProgressBar {
return NewOptions64(max)
}

// Get the max of a bar
// GetMax returns the max of a bar
func (p *ProgressBar) GetMax() int {
return int(p.config.max)
}

// Same as GetMax, but returns int64
// GetMax64 returns the current max
func (p *ProgressBar) GetMax64() int64 {
return p.config.max
}
Expand Down

0 comments on commit 9348fe8

Please sign in to comment.