Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorPost ¶
type CachedUser ¶
type FullComment ¶
type FullComment struct {
Comment Comment `json:"comment"`
Author UserAuthor `json:"author"`
}
type FullPost ¶
type FullPost struct {
Post Post `json:"post"`
Author UserAuthor `json:"author"`
Tags []string `json:"tags"`
}
type Post ¶
type Post struct {
ID int64 `json:"id"`
AuthorID uuid.UUID `json:"author_id"`
Title string `json:"title"`
Content string `json:"content"`
FeedView string `json:"feed_view"`
Views int64 `json:"views"`
Likes int64 `json:"likes"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Validated bool `json:"validated"`
ValidationStatusMsg *string `json:"validation_status_msg"`
}
type UserAuthor ¶
Click to show internal directories.
Click to hide internal directories.