types

package
v0.0.0-...-10f3eee Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clock

type Clock struct{}

func (*Clock) Now

func (c *Clock) Now() time.Time

type GoogleUUID

type GoogleUUID struct{}

func (*GoogleUUID) New

func (g *GoogleUUID) New() string

type MockClock

type MockClock struct {
	mock.Mock
}

func (*MockClock) Now

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

type MockUUID

type MockUUID struct {
	mock.Mock
}

func (*MockUUID) New

func (m *MockUUID) New() string

type TimeClock

type TimeClock interface {
	Now() time.Time
}

type UUIDGenerator

type UUIDGenerator interface {
	New() string
}

Jump to

Keyboard shortcuts

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