User implementation and particaly groups

This commit is contained in:
lost+skunk 2024-06-05 14:32:40 +03:00
parent 66ab740d7f
commit 9b85088665
7 changed files with 152 additions and 61 deletions

View file

@ -13,24 +13,21 @@ type comments struct {
Total int
Thread []struct {
CommentId, ParentId, Replies, Likes int
Posted time
IsAuthorHighlited bool
Replies, Likes int
ID int `json:"commentId"`
Parent int `json:"ParrentId"`
Posted time
Author bool `json:"isAuthorHighlited"`
Desctiption string
Comment string
// упрощение структуры с комментами
Comment string
TextContent struct {
Html struct {
Markup string
}
}
TextContent text
User struct {
Username string
IsBanned bool
Banned bool `json:"isBanned"`
}
}
}