Versions in this module Expand all Collapse all v1 v1.0.1 Nov 24, 2024 Changes in this version + type Order struct + CreatedAt time.Time + ID primitive.ObjectID + Products []Product + Status OrderStatus + TotalAmount float64 + UpdatedAt time.Time + Updates []OrderUpdate + User string + Version int64 + type OrderStatus string + const OrderCancelled + const OrderDelivered + const OrderPending + const OrderProcessing + const OrderShipped + type OrderUpdate struct + HandledBy string + Notes string + UpdatedAt time.Time + type Product struct + Name string + Price float64 + Quantity uint64 + Remarks string + Status string + UpdatedAt time.Time