Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseService ¶
type DatabaseService struct {
// contains filtered or unexported fields
}
DatabaseService defines a general database provider type
func NewTable ¶
func NewTable(tableName string) (*DatabaseService, error)
NewTable Creates a pointer to new new DynamoDB type
func (*DatabaseService) CreateItem ¶
func (i *DatabaseService) CreateItem(item entity.Item) error
CreateItem is a receiver function for DatabaseService, this creates new item in database
Click to show internal directories.
Click to hide internal directories.