clock

package
v1.2.36 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClock added in v0.8.78

type IClock interface {
	Now() time.Time
	NowPointer() *time.Time
}

type SysClock

type SysClock struct{}

func (*SysClock) Now

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

func (*SysClock) NowPointer

func (c *SysClock) NowPointer() *time.Time

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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