Fix godocs for various types and functions

This commit is contained in:
Christian Muehlhaeuser
2021-03-12 02:00:03 +01:00
parent 046b9ca129
commit a0d7cb77a1
2 changed files with 5 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
// package paginator provides a Bubble Tea package for calulating pagination
// Package paginator provides a Bubble Tea package for calulating pagination
// and rendering pagination info. Note that this package does not render actual
// pages: it's purely for handling keystrokes related to pagination, and
// rendering pagination status.
@@ -91,7 +91,7 @@ func (m *Model) NextPage() {
}
}
// LastPage returns whether or not we're on the last page.
// OnLastPage returns whether or not we're on the last page.
func (m Model) OnLastPage() bool {
return m.Page == m.TotalPages-1
}