clock

package
v0.0.0-...-41af0e9 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidClock = errors.New("invalid clock")
)

Functions

This section is empty.

Types

type Clock

type Clock time.Time

func (Clock) MarshalJSON

func (c Clock) MarshalJSON() ([]byte, error)

func (Clock) String

func (c Clock) String() string

func (*Clock) UnmarshalJSON

func (c *Clock) UnmarshalJSON(data []byte) error

func (Clock) Value

func (c Clock) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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