Skip to content
Myr

Rename PaginatorType to Type

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Type name would be used as paginator.PaginatorType by other packages, and that stutters.

authored by Christian Muehlhaeuser · committed by Christian Muehlhaeuser · parent 6db7c48 · Browse files · 1 file+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:paginator/paginator.go+4 added-4 removed
8 unmodified lines
910 "github.com/charmbracelet/boba"11)1213// PaginatorType specifies the way we render pagination14type PaginatorType int13// Type specifies the way we render pagination14type Type int1516// Pagination rendering options17const (18 Arabic PaginatorType = iota18 Arabic Type = iota19 Dots20)2122// Model is the Boba model for this user interface23type Model struct {24 Type PaginatorType24 Type Type25 Page int26 PerPage int27 TotalPages int28 ActiveDot string
163 unmodified lines