Use searcher/options to get user posts/comments

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-05-18 23:11:47 -04:00
parent 7b83e8366a
commit 946318c27b
3 changed files with 319 additions and 159 deletions
+3 -3
View File
@@ -181,6 +181,9 @@ type Comment struct {
ParentID string `json:"parent_id,omitempty"`
Permalink string `json:"permalink,omitempty"`
Created *Timestamp `json:"created_utc,omitempty"`
Edited *Timestamp `json:"edited,omitempty"`
Body string `json:"body,omitempty"`
Author string `json:"author,omitempty"`
AuthorID string `json:"author_fullname,omitempty"`
@@ -198,9 +201,6 @@ type Comment struct {
Score int `json:"score"`
Controversiality int `json:"controversiality"`
Created *Timestamp `json:"created_utc,omitempty"`
Edited *Timestamp `json:"edited,omitempty"`
LinkID string `json:"link_id,omitempty"`
// These don't appear when submitting a comment