Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOrdersRepository ¶
type IOrdersRepository interface { FindOneOrder(orderId string) (*orders.Order, error) FindOrder(req *orders.OrderFilter) ([]*orders.Order, int) InsertOrder(req *orders.Order) (string, error) UpdateOrder(req *orders.Order) error }
func OrdersRepository ¶
func OrdersRepository(db *sqlx.DB) IOrdersRepository
Click to show internal directories.
Click to hide internal directories.