code: func (ctrl Controller) Category(w http.ResponseWriter, req *http.Request) {
  	var (
  		category products.Category
  		Products []products.Product
  		tx       = utils.GetDB(req)
  	)
  
  	if tx.Where("code = ?", utils.URLParam("code", req)).First(&category).RecordNotFound() {
  		http.Redirect(w, req, "/", http.StatusFound)
  	}
  
  	tx.Where(&products.Product{CategoryID: category.ID}).Preload("ColorVariations").Find(&Products)
  
  	ctrl.View.Execute("category", map[string]interface{}{"CategoryName": category.Name, "Products": Products}, req, w)
  }
docs: // Category category show page