entity

package
v0.0.0-...-d2182b9 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package entity is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

type Entity interface {
	NewID() string
	Now() time.Time
	NowMillis() int64
}

func New

func New() Entity

type MockEntity

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

MockEntity is a mock of Entity interface.

func NewMockEntity

func NewMockEntity(ctrl *gomock.Controller) *MockEntity

NewMockEntity creates a new mock instance.

func (*MockEntity) EXPECT

func (m *MockEntity) EXPECT() *MockEntityMockRecorder

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

func (*MockEntity) NewID

func (m *MockEntity) NewID() string

NewID mocks base method.

func (*MockEntity) Now

func (m *MockEntity) Now() time.Time

Now mocks base method.

func (*MockEntity) NowMillis

func (m *MockEntity) NowMillis() int64

NowMillis mocks base method.

type MockEntityMockRecorder

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

MockEntityMockRecorder is the mock recorder for MockEntity.

func (*MockEntityMockRecorder) NewID

func (mr *MockEntityMockRecorder) NewID() *gomock.Call

NewID indicates an expected call of NewID.

func (*MockEntityMockRecorder) Now

func (mr *MockEntityMockRecorder) Now() *gomock.Call

Now indicates an expected call of Now.

func (*MockEntityMockRecorder) NowMillis

func (mr *MockEntityMockRecorder) NowMillis() *gomock.Call

NowMillis indicates an expected call of NowMillis.

Jump to

Keyboard shortcuts

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