Versions in this module Expand all Collapse all v0 v0.1.0 Jan 3, 2024 Changes in this version + type Category struct + Products []Products + Title string + func (c *Category) BeforeCreate(*gorm.DB) error + type CommentLikes struct + CommentsID int + UsersID int + type Comments struct + Likes uint + Message string + ProductsSlug string + UsersID int + type ProductImages struct + ProductsSlug string + URL string + type Products struct + CategorySlug string + Comments []Comments + Description string + Images []ProductImages + IsAvailable bool + Name string + Price float64 + Stock int + Tags []Tags + Views int + Weight float64 + func (p *Products) BeforeSave(*gorm.DB) error + type Tags struct + Name string + type Users struct + Comments []Comments + FirstName string + IsActive bool + IsAdmin bool + LastName string + Password string + Phone string