Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockReader

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

MockReader is a mock of Reader interface.

func NewMockReader

func NewMockReader(ctrl *gomock.Controller) *MockReader

NewMockReader creates a new mock instance.

func (*MockReader) EXPECT

func (m *MockReader) EXPECT() *MockReaderMockRecorder

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

func (*MockReader) Getenv

func (m *MockReader) Getenv(key string) string

Getenv mocks base method.

func (*MockReader) LookupEnv added in v0.0.14

func (m *MockReader) LookupEnv(key string) (string, bool)

LookupEnv mocks base method.

type MockReaderMockRecorder

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

MockReaderMockRecorder is the mock recorder for MockReader.

func (*MockReaderMockRecorder) Getenv

func (mr *MockReaderMockRecorder) Getenv(key any) *gomock.Call

Getenv indicates an expected call of Getenv.

func (*MockReaderMockRecorder) LookupEnv added in v0.0.14

func (mr *MockReaderMockRecorder) LookupEnv(key any) *gomock.Call

LookupEnv indicates an expected call of LookupEnv.

Jump to

Keyboard shortcuts

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