mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stringer

type Stringer struct {
	Value string
}

func (Stringer) GoString

func (s Stringer) GoString() string

func (Stringer) String

func (s Stringer) String() string

type Writer

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

func NewWriterMock

func NewWriterMock(writeFn func(p []byte) (n int, err error)) *Writer

func (*Writer) Write

func (m *Writer) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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