Documentation ¶
Index ¶
- func NewItemRepository(db *dynamo.DB, tableName string) repositories.ItemRepository
- type ItemRepository
- func (i ItemRepository) GetFromPath(ctx context.Context, path string) (item *entities.Item, err error)
- func (i ItemRepository) Initialize(ctx context.Context, options interface{}) error
- func (i ItemRepository) List(ctx context.Context, directory string, nextCursor string) (items *[]entities.Item, err error)
- func (i ItemRepository) Put(ctx context.Context, item *entities.Item) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewItemRepository ¶
func NewItemRepository(db *dynamo.DB, tableName string) repositories.ItemRepository
Types ¶
type ItemRepository ¶
type ItemRepository struct {
// contains filtered or unexported fields
}
func (ItemRepository) GetFromPath ¶
func (ItemRepository) Initialize ¶
func (i ItemRepository) Initialize(ctx context.Context, options interface{}) error
Click to show internal directories.
Click to hide internal directories.