mirror of
https://git.macaw.me/skunky/devianter.git
synced 2025-04-27 19:45:08 +03:00
User implementation and particaly groups
This commit is contained in:
parent
66ab740d7f
commit
9b85088665
7 changed files with 152 additions and 61 deletions
21
comments.go
21
comments.go
|
@ -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"`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue