package paginator import ( "testing" ) func TestCut(t *testing.T) { items := []int{1, 2, 3} page := 2 limit := 1 pageCount := 1 pag := New(items, page, limit, pageCount) t.Logf("pag: %s", pag) }