From 5a1ee26a6b1782cc1836f8bd556f40636fb56fdd Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Thu, 14 May 2020 20:59:03 -0400 Subject: [PATCH] Fix typo in comment --- paginator/paginator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paginator/paginator.go b/paginator/paginator.go index 9350937..3583593 100644 --- a/paginator/paginator.go +++ b/paginator/paginator.go @@ -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)