From bb19d42cc0b5f41f1614e489639a72b1b92ecdf6 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 25 May 2020 13:55:28 +0200 Subject: [PATCH] Rename PaginatorType to Type Type name would be used as paginator.PaginatorType by other packages, and that stutters. --- paginator/paginator.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/paginator/paginator.go b/paginator/paginator.go index 9aff3b7..85dd266 100644 --- a/paginator/paginator.go +++ b/paginator/paginator.go @@ -10,18 +10,18 @@ import ( "github.com/charmbracelet/boba" ) -// PaginatorType specifies the way we render pagination -type PaginatorType int +// Type specifies the way we render pagination +type Type int // Pagination rendering options const ( - Arabic PaginatorType = iota + Arabic Type = iota Dots ) // Model is the Boba model for this user interface type Model struct { - Type PaginatorType + Type Type Page int PerPage int TotalPages int