mocks

package
v0.0.0-...-d386c04 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Timer

type Timer struct {
	mock.Mock
}

Timer is an autogenerated mock type for the Timer type

func NewTimer

func NewTimer(t mockConstructorTestingTNewTimer) *Timer

NewTimer creates a new instance of Timer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Timer) Now

func (_m *Timer) Now() time.Time

Now provides a mock function with given fields:

func (*Timer) UnixMilli

func (_m *Timer) UnixMilli(msec int64) time.Time

UnixMilli provides a mock function with given fields: msec

Jump to

Keyboard shortcuts

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