Documentation
¶
Index ¶
- type JSONTime
- func (d *JSONTime) MarshalBSONValue() (bsontype.Type, []byte, error)
- func (d *JSONTime) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error
- func (d JSONTime) MarshalJSON() ([]byte, error)
- func (d *JSONTime) UnmarshalBSONValue(bsonType bsontype.Type, data []byte) error
- func (d *JSONTime) UnmarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error
- func (d *JSONTime) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONTime ¶
JSONTime converts a time from a different string formats to time.Time
func (*JSONTime) MarshalBSONValue ¶ added in v0.2.11
MarshalBSON outputs BSON for MongoDB.
func (*JSONTime) MarshalDynamoDBAttributeValue ¶ added in v0.2.3
func (d *JSONTime) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error
MarshalDynamoDBAttributeValue marshals object to a dynamodb attribute
func (JSONTime) MarshalJSON ¶
MarshalJSON outputs JSON.
func (*JSONTime) UnmarshalBSONValue ¶ added in v0.2.11
MarshalBSON outputs BSON for MongoDB.
func (*JSONTime) UnmarshalDynamoDBAttributeValue ¶ added in v0.2.5
func (d *JSONTime) UnmarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error
UnmarshalDynamoDBAttributeValue marshals object from a dynamodb attribute
func (*JSONTime) UnmarshalJSON ¶
UnmarshalJSON handles incoming JSON.
Click to show internal directories.
Click to hide internal directories.