Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Product ¶
type Product struct { ID uuid.UUID `db:"id"` CategoryID uuid.UUID `db:"category_id"` Producer string `db:"producer"` Model string `db:"model"` Additional string `db:"additional"` OperatingSystem int `db:"operating_system"` Description string `db:"description"` Photo sql.NullString `db:"photo"` Price float64 `db:"price"` OldPrice float64 `db:"old_price"` IsSale bool `db:"is_sale"` }
func (*Product) StringForBot ¶
func (*Product) StringForManager ¶
func (*Product) StringWithoutDescription ¶
type Repair ¶
type Repair struct { ID uuid.UUID `db:"id"` ProducerName string `db:"producer_name"` ModelName string `db:"model_name"` Name string `db:"name"` Description sql.NullString `db:"description"` Price float64 `db:"price"` }
func (*Repair) StringForBot ¶
func (*Repair) StringWithoutDescription ¶
type Reservation ¶
type ReservationWithAdditionalData ¶
type ReservationWithAdditionalData struct { Reservation CategoryName string `db:"category_name"` ProductFullName string `db:"product_full_name"` }
func (*ReservationWithAdditionalData) StringForBot ¶
func (r *ReservationWithAdditionalData) StringForBot(botURL string) string
func (*ReservationWithAdditionalData) StringForManager ¶
func (r *ReservationWithAdditionalData) StringForManager(botURL string) string
Click to show internal directories.
Click to hide internal directories.