productsPatterns

package
v0.0.0-...-031f79c Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindProductEngineer

func FindProductEngineer(builder IFindProductBuilder) *findProductEngineer

func InsertProductEngineer

func InsertProductEngineer(b IInsertProductBuidler) *insertProductEngineer

func UpdateProductEngineer

func UpdateProductEngineer(b IUpdateProductBuilder) *updateProductEngineer

Types

type IFindProductBuilder

type IFindProductBuilder interface {
	Result() []*products.Product
	Count() int
	PrintQuery()
	// contains filtered or unexported methods
}

func FindProductBuilder

func FindProductBuilder(db *sqlx.DB, req *products.ProductFilter) IFindProductBuilder

type IInsertProductBuidler

type IInsertProductBuidler interface {
	// contains filtered or unexported methods
}

func InsertProductBuilder

func InsertProductBuilder(db *sqlx.DB, req *products.Product) IInsertProductBuidler

type IUpdateProductBuilder

type IUpdateProductBuilder interface {
	// contains filtered or unexported methods
}

func UpdateProductBuilder

func UpdateProductBuilder(db *sqlx.DB, req *products.Product, filesUsecases filesUsecases.IFilesUsecase) IUpdateProductBuilder

Jump to

Keyboard shortcuts

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