diff options
| author | lost+skunk <[email protected]> | 2024-06-05 14:32:40 +0300 |
|---|---|---|
| committer | lost+skunk <[email protected]> | 2024-06-05 14:32:40 +0300 |
| commit | 9b850886656bb2ecf192e6d9df63ea07d175de06 (patch) | |
| tree | 342e0ab5a0bab961f3496be3ac14fe9909a3b977 /comments.go | |
| parent | 66ab740d7fec430d97f69ab0ed52ba0f01973d46 (diff) | |
| download | devianter-9b850886656bb2ecf192e6d9df63ea07d175de06.tar.gz devianter-9b850886656bb2ecf192e6d9df63ea07d175de06.tar.bz2 devianter-9b850886656bb2ecf192e6d9df63ea07d175de06.zip | |
User implementation and particaly groups
Diffstat (limited to 'comments.go')
| -rw-r--r-- | comments.go | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/comments.go b/comments.go index f6a86c6..7b3bb3d 100644 --- a/comments.go +++ b/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"` - Desctiption string + Posted time + Author bool `json:"isAuthorHighlited"` - // упрощение структуры с комментами - Comment string + Desctiption string + Comment string - TextContent struct { - Html struct { - Markup string - } - } + TextContent text User struct { Username string - IsBanned bool + Banned bool `json:"isBanned"` } } } |
