Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleInput ¶
type ArticleRequest ¶
type ArticleRequest struct { Id uint `gorm:"primarykey"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt `gorm:"index"` UserId int32 AuthorName string Title string Subtitle string Content string Topic string Draft bool Likes pq.Int32Array `gorm:"type:integer[]"` HasConnectedUserLiked bool }
type ArticleResponse ¶
type ArticleResponse struct { Id uint `gorm:"primarykey"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt `gorm:"index"` UserId int32 AuthorName string Title string Subtitle string Content string Topic string Draft bool HasConnectedUserLiked bool Likes []RecordLike `gorm:"foreignKey:ArticleID"` Views []RecordView `gorm:"foreignKey:ArticleID"` }
type BookmarksResponse ¶ added in v0.1.3
type RecordLike ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.