Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, v interface{}) error
- func (c *Client) Get(ctx context.Context, pk, sk string, v interface{}) error
- func (c *Client) GetAllByGsi(ctx context.Context, gsi, sk string, v interface{}) error
- func (c *Client) GetAllByKeys(ctx context.Context, keys []Key) ([]map[string]types.AttributeValue, error)
- func (c *Client) GetOneByPartialSk(ctx context.Context, pk, partialSk string, v interface{}) error
- func (c *Client) Put(ctx context.Context, v interface{}) error
- type Key
- type MultipleResultsError
- type NotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetAllByGsi ¶
func (*Client) GetAllByKeys ¶
func (*Client) GetOneByPartialSk ¶
type MultipleResultsError ¶
type MultipleResultsError struct{}
func (MultipleResultsError) Error ¶
func (n MultipleResultsError) Error() string
type NotFoundError ¶
type NotFoundError struct{}
func (NotFoundError) Error ¶
func (n NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.