Use functional opts for searches

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-05-18 19:25:24 -04:00
parent 2696d8e32c
commit 7b83e8366a
3 changed files with 378 additions and 161 deletions
+1
View File
@@ -55,6 +55,7 @@ type User struct {
IsEmployee bool `json:"is_employee"`
HasVerifiedEmail bool `json:"has_verified_email"`
NSFW bool `json:"over_18"`
IsSuspended bool `json:"is_suspended"`
}
// UserShort represents a Reddit user, but contains fewer pieces of information