Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookSearchParams ¶
type BookSearchParams struct { Title WildcardString Author WildcardString Genre WildcardString }
type CartResult ¶
func (CartResult) TotalPrice ¶
func (cr CartResult) TotalPrice() float64
type Order ¶
type Order struct { gorm.Model UserId uint `gorm:"index"` Status uint Address string Price float64 Items []OrderItem `gorm:"-"` }
func (Order) TotalPrice ¶
type OrderResult ¶
type WildcardString ¶
type WildcardString string
func (WildcardString) ToWildcard ¶
func (ws WildcardString) ToWildcard() string
Click to show internal directories.
Click to hide internal directories.