timestamp

package
v0.0.0-...-12bf87c Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MPL-2.0 Imports: 6 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 time.Time

func Now

func Now() Timestamp

func (Timestamp) MarshalDynamoDBAttributeValue

func (ts Timestamp) MarshalDynamoDBAttributeValue() (ddbTypes.AttributeValue, error)

func (Timestamp) MarshalJSON

func (ts Timestamp) MarshalJSON() ([]byte, error)

func (Timestamp) String

func (ts Timestamp) String() string

func (*Timestamp) Touch

func (ts *Timestamp) Touch()

func (*Timestamp) UnmarshalDynamoDBAttributeValue

func (ts *Timestamp) UnmarshalDynamoDBAttributeValue(attr ddbTypes.AttributeValue) error

func (*Timestamp) UnmarshalJSON

func (ts *Timestamp) UnmarshalJSON(data []byte) error

func (*Timestamp) Until

func (ts *Timestamp) Until() time.Duration

Jump to

Keyboard shortcuts

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