From 9b850886656bb2ecf192e6d9df63ea07d175de06 Mon Sep 17 00:00:00 2001 From: lost+skunk Date: Wed, 5 Jun 2024 14:32:40 +0300 Subject: User implementation and particaly groups --- comments.go | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'comments.go') 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"` } } } -- cgit v1.2.3