Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FavoriteCreateReq ¶
FavoriteCreateReq запрос на добавление предикта в избранное.
type FavoriteDao ¶
type FavoriteDao struct { ID int64 Username string Response []byte IsDeleted bool CreatedAt time.Time UpdatedAt time.Time }
FavoriteDao представление избранных предиктов в базе данных.
func (*FavoriteDao) ToDto ¶
func (f *FavoriteDao) ToDto() FavoriteDto
ToDto конвертирует FavoriteDao в FavoriteDto.
type FavoriteDto ¶
type FavoriteDto struct { ID int64 `json:"id"` Response map[string]any `json:"response"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
FavoriteDto представление избранных предиктов в API.
type FavoriteUpdateReq ¶
FavoriteUpdateReq запрос на обновление предикта в избранном.
Click to show internal directories.
Click to hide internal directories.