product

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusOffShelf    = domain.StatusOffShelf
	StatusOnShelf     = domain.StatusOnShelf
	SaleTypeUnlimited = domain.SaleTypeUnlimited
)

Variables

Functions

func InitHandler

func InitHandler(db *gorm.DB) *web.Handler

func InitService

func InitService(db *gorm.DB) service.Service

func InitTablesOnce

func InitTablesOnce(db *egorm.Component) dao.ProductDAO

Types

type Handler

type Handler = web.Handler

type Module added in v0.1.0

type Module struct {
	Hdl *Handler
	Svc Service
}

func InitModule added in v0.1.0

func InitModule(db *gorm.DB, cmq mq.MQ) (*Module, error)

type SKU

type SKU = domain.SKU

type SPU

type SPU = domain.SPU

type Service

type Service = service.Service

type Status added in v0.1.0

type Status = domain.Status

Directories

Path Synopsis
internal
web
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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