Add methods to get random posts and subreddits

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-07-20 21:03:57 -04:00
parent 5c376a1af4
commit 465e96353c
4 changed files with 104 additions and 1 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ func (r *Replies) UnmarshalJSON(data []byte) error {
return nil
}
// todo: should we implemented json.Marshaler?
// todo: should we implement json.Marshaler?
// More holds information
type More struct {