Fix typo in comment

This commit is contained in:
Christian Rocha
2020-05-14 20:59:03 -04:00
parent 959b9c3a45
commit 5a1ee26a6b

View File

@@ -50,7 +50,7 @@ func (m *Model) SetTotalPages(items int) int {
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.
func (m Model) ItemsOnPage(totalItems int) int {
start, end := m.GetSliceBounds(totalItems)