Documentation ¶
Index ¶
- func DecreaseStock(ctx context.Context, productId, stockNum int64) error
- func DecreaseStockRevert(ctx context.Context, productId, stockNum int64) error
- func GetProductSnapshot(ctx context.Context, productId int64) (string, error)
- func GetUserName(ctx context.Context, userId int64) (string, error)
- func Init()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecreaseStockRevert ¶
func GetProductSnapshot ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.