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

hashingmock

package
v1.16.16 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package hashingmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

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

Hasher is a mock of Hasher interface.

func NewHasher

func NewHasher(ctrl *gomock.Controller) *Hasher

NewHasher creates a new mock instance.

func (*Hasher) EXPECT

func (m *Hasher) EXPECT() *HasherMockRecorder

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

func (*Hasher) Hash

func (m *Hasher) Hash(arg0 []byte) uint64

Hash mocks base method.

type HasherMockRecorder

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

HasherMockRecorder is the mock recorder for Hasher.

func (*HasherMockRecorder) Hash

func (mr *HasherMockRecorder) Hash(arg0 any) *gomock.Call

Hash indicates an expected call of Hash.

Jump to

Keyboard shortcuts

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