stamp

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeStamp

type TimeStamp int64

毫秒

func Time

func Time(t time.Time) TimeStamp

func (TimeStamp) MarshalJSON

func (t TimeStamp) MarshalJSON() ([]byte, error)

func (*TimeStamp) Scan

func (t *TimeStamp) Scan(src interface{}) (err error)

Scan scan time.

func (TimeStamp) Time

func (t TimeStamp) Time() time.Time

Time get time.

func (*TimeStamp) UnmarshalJSON

func (t *TimeStamp) UnmarshalJSON(data []byte) error

func (TimeStamp) Value

func (t TimeStamp) Value() (driver.Value, error)

Value get time value.

Jump to

Keyboard shortcuts

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