brand_datasource

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Brand

type Brand interface {
	Create(ctx context.Context, input *brand_model.CreateBrandInputModel) (bool, error)
	FindProcessingBrand(ctx context.Context) (*brand_model.BrandBase, error)
	UpdateSuccess(ctx context.Context, id string) (bool, error)
}

func NewBrandDbDataSource

func NewBrandDbDataSource(brandRepository mongo_repository.BrandRepository) Brand

type BrandImpl

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

func (*BrandImpl) Create

func (*BrandImpl) FindProcessingBrand

func (d *BrandImpl) FindProcessingBrand(ctx context.Context) (*brand_model.BrandBase, error)

func (*BrandImpl) UpdateSuccess

func (d *BrandImpl) UpdateSuccess(ctx context.Context, id string) (bool, error)

Jump to

Keyboard shortcuts

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