time

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromSqlNullTime

func FromSqlNullTime(t sql.NullTime) *time.Time

func ToSqlNullTime

func ToSqlNullTime(t *time.Time) sql.NullTime

Types

type Clock

type Clock interface {
	Now() time.Time
	After(d time.Duration) <-chan time.Time
}
var SystemClock Clock = systemClock{}

type Duration

type Duration = time.Duration

type Time

type Time = time.Time

Jump to

Keyboard shortcuts

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