Fix typo in comment

This commit is contained in:
Christian Rocha 2020-05-14 20:59:03 -04:00
parent 959b9c3a45
commit 5a1ee26a6b
No known key found for this signature in database
GPG Key ID: D6CC7A16E5878018
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ func (m *Model) SetTotalPages(items int) int {
return n return n
} }
// ItemsOnPage is a helper function fro returning the numer of items on the // ItemsOnPage is a helper function for returning the numer of items on the
// current page given the total numer of items passed as an argument. // current page given the total numer of items passed as an argument.
func (m Model) ItemsOnPage(totalItems int) int { func (m Model) ItemsOnPage(totalItems int) int {
start, end := m.GetSliceBounds(totalItems) start, end := m.GetSliceBounds(totalItems)