dynamodbsynchro

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: MIT Imports: 6 Imported by: 0

README

dynamodb-synchro

Go Reference

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NullTime

type NullTime[T synchro.TimeZone] struct {
	Time  Time[T]
	Valid bool
}

func NewNullTime

func NewNullTime[T synchro.TimeZone](t synchro.NullTime[T]) NullTime[T]

func (NullTime[T]) MarshalDynamoDBAttributeValue

func (c NullTime[T]) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)

func (NullTime[T]) ToSynchro

func (c NullTime[T]) ToSynchro() synchro.NullTime[T]

func (*NullTime[T]) UnmarshalDynamoDBAttributeValue

func (c *NullTime[T]) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error

type Time

type Time[T synchro.TimeZone] struct {
	synchro.Time[T]
}

func New

func New[T synchro.TimeZone](t synchro.Time[T]) Time[T]

func (Time[T]) MarshalDynamoDBAttributeValue

func (c Time[T]) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)

func (*Time[T]) UnmarshalDynamoDBAttributeValue

func (c *Time[T]) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error

Jump to

Keyboard shortcuts

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