pager

package
v1.178.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package pager is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StripANSI

func StripANSI(input string) string

StripANSI removes ANSI escape sequences (like terminal colors) from input.

Types

type MockPageCreator

type MockPageCreator struct {
	// contains filtered or unexported fields
}

MockPageCreator is a mock of PageCreator interface.

func NewMockPageCreator

func NewMockPageCreator(ctrl *gomock.Controller) *MockPageCreator

NewMockPageCreator creates a new mock instance.

func (*MockPageCreator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPageCreator) Run

func (m *MockPageCreator) Run(title, content string) error

Run mocks base method.

type MockPageCreatorMockRecorder

type MockPageCreatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockPageCreatorMockRecorder is the mock recorder for MockPageCreator.

func (*MockPageCreatorMockRecorder) Run

func (mr *MockPageCreatorMockRecorder) Run(title, content interface{}) *gomock.Call

Run indicates an expected call of Run.

type PageCreator

type PageCreator interface {
	Run(title, content string) error
}

func New

func New() PageCreator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL