Documentation ¶
Index ¶
Constants ¶
View Source
const ( SK = "M" GSI1SK_PREFIX = "M#" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageRoomItem ¶
type MessageRoomItem struct { PK string `dynamodbav:"pk"` SK string `dynamodbav:"sk"` GSI1PK string `dynamodbav:"gsi1pk"` GSI1SK string `dynamodbav:"gsi1sk"` Message string `dynamodbav:"message"` EntityType item.EntityType `dynamodbav:"entityType"` CreatedOn string `dynamodbav:"createdOn"` CreatedBy string `dynamodbav:"createdBy"` ModifiedOn string `dynamodbav:"modifiedOn"` Reactions []reactionitem.ReactionItem `dynamodbav:"reactions"` IsEdited bool `dynamodbav:"isEdited"` }
func From ¶
func From(m message.Message) MessageRoomItem
func (MessageRoomItem) To ¶
func (item MessageRoomItem) To() message.Message
Click to show internal directories.
Click to hide internal directories.