query

package
v0.0.0-...-60e6733 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FindOrderById

type FindOrderById struct {
	// contains filtered or unexported fields
}

func NewFindOrderById

func NewFindOrderById(orderRepo model.OrderRepository) *FindOrderById

func (FindOrderById) Do

func (q FindOrderById) Do(ctx context.Context, id int64) (*model.Order, error)

type FindProductById

type FindProductById struct {
	// contains filtered or unexported fields
}

func NewFindProductById

func NewFindProductById(productRepo model.ProductRepository) *FindProductById

func (FindProductById) Do

type FindSellerById

type FindSellerById struct {
	// contains filtered or unexported fields
}

func NewFindSellerById

func NewFindSellerById(sellerRepo model.SellerRepository) *FindSellerById

func (FindSellerById) Do

func (q FindSellerById) Do(ctx context.Context, id int64) (*model.Seller, error)

type SearchProducts

type SearchProducts struct {
	// contains filtered or unexported fields
}

func NewSearchProducts

func NewSearchProducts(productRepo model.ProductRepository) *SearchProducts

func (SearchProducts) Do

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL