Documentation ¶
Index ¶
- func AddBooleanAttribute(item map[string]*dynamodb.AttributeValue, key string, value bool)
- func AddListAttribute(item map[string]*dynamodb.AttributeValue, key string, ...)
- func AddStringAttribute(item map[string]*dynamodb.AttributeValue, key string, value string)
- func AddStringSliceAttribute(item map[string]*dynamodb.AttributeValue, key string, value []string)
- func AreClaGroupDocumentsEqual(doc1, doc2 models.ClaGroupDocument) bool
- func BuildCLAGroupDocumentModels(dbDocumentModels []models2.DBProjectDocumentModel) []models.ClaGroupDocument
- func GetCurrentDocument(ctx context.Context, docs []models.ClaGroupDocument) (models.ClaGroupDocument, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBooleanAttribute ¶
func AddBooleanAttribute(item map[string]*dynamodb.AttributeValue, key string, value bool)
AddBooleanAttribute adds a new boolean attribute to the existing map
func AddListAttribute ¶
func AddListAttribute(item map[string]*dynamodb.AttributeValue, key string, value []*dynamodb.AttributeValue)
AddListAttribute adds a list to the existing map
func AddStringAttribute ¶
func AddStringAttribute(item map[string]*dynamodb.AttributeValue, key string, value string)
AddStringAttribute adds a new string attribute to the existing map
func AddStringSliceAttribute ¶
func AddStringSliceAttribute(item map[string]*dynamodb.AttributeValue, key string, value []string)
AddStringSliceAttribute adds a new string slice attribute to the existing map
func AreClaGroupDocumentsEqual ¶
func AreClaGroupDocumentsEqual(doc1, doc2 models.ClaGroupDocument) bool
func BuildCLAGroupDocumentModels ¶
func BuildCLAGroupDocumentModels(dbDocumentModels []models2.DBProjectDocumentModel) []models.ClaGroupDocument
BuildCLAGroupDocumentModels builds response models based on the array of db models
func GetCurrentDocument ¶
func GetCurrentDocument(ctx context.Context, docs []models.ClaGroupDocument) (models.ClaGroupDocument, error)
GetCurrentDocument returns the current document based on the version and date/time
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.