Documentation
¶
Index ¶
Constants ¶
View Source
const (
TableName = "AdquirenciaOrders"
)
Variables ¶
This section is empty.
Functions ¶
func NewDynamoDbClient ¶
Types ¶
type InternalError ¶
func (*InternalError) Error ¶
func (e *InternalError) Error() string
func (*InternalError) Unwrap ¶
func (e *InternalError) Unwrap() error
type MarshalError ¶
type MarshalError struct {
Input interface{}
Err error
}
func (*MarshalError) Error ¶
func (e *MarshalError) Error() string
func (*MarshalError) Unwrap ¶
func (e *MarshalError) Unwrap() error
type NotFoundError ¶
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
func (*NotFoundError) Unwrap ¶
func (e *NotFoundError) Unwrap() error
type OrderRepository ¶
type OrderRepository interface {
GetOrder(id string) (models.Order, error)
CreateOrder(order models.PendingOrder) (models.PendingOrder, error)
UpdateOrder(id, status, authCode string) error
}
func NewOrderRepository ¶
func NewOrderRepository() OrderRepository
type Repository ¶
type Repository interface {
// contains filtered or unexported methods
}
type UnmarshalError ¶
type UnmarshalError struct {
Output interface{}
Err error
}
func (*UnmarshalError) Error ¶
func (e *UnmarshalError) Error() string
func (*UnmarshalError) Unwrap ¶
func (e *UnmarshalError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.