Add SearchService

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-05-04 20:51:16 -04:00
parent 014ecb6c16
commit dc31cd8dbc
5 changed files with 256 additions and 27 deletions
-5
View File
@@ -59,11 +59,6 @@ type UserServiceOp struct {
var _ UserService = &UserServiceOp{}
type userRoot struct {
Kind *string `json:"kind,omitempty"`
Data *User `json:"data,omitempty"`
}
// User represents a Reddit user
type User struct {
// is not the full ID, watch out