File: stringer_paging_request_type.go

package info (click to toggle)
peco 0.5.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 548 kB
  • sloc: makefile: 95
file content (16 lines) | stat: -rw-r--r-- 644 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by "stringer -type PagingRequestType -output stringer_paging_request_type.go ."; DO NOT EDIT.

package peco

import "fmt"

const _PagingRequestType_name = "ToLineAboveToScrollPageDownToLineBelowToScrollPageUpToScrollLeftToScrollRightToLineInPageToScrollFirstItemToScrollLastItem"

var _PagingRequestType_index = [...]uint8{0, 11, 27, 38, 52, 64, 77, 89, 106, 122}

func (i PagingRequestType) String() string {
	if i < 0 || i >= PagingRequestType(len(_PagingRequestType_index)-1) {
		return fmt.Sprintf("PagingRequestType(%d)", i)
	}
	return _PagingRequestType_name[_PagingRequestType_index[i]:_PagingRequestType_index[i+1]]
}