diff --git a/internal/data/models.go b/internal/data/models.go index 060b93b..7fb878d 100644 --- a/internal/data/models.go +++ b/internal/data/models.go @@ -25,8 +25,9 @@ type Models struct { Delete(login string) error } Users interface { - Insert(user *User) error + Insert(login, twitchId string) error Get(login string) (*User, error) + Check(login string) (*User, error) SetLevel(login string, level int) error SetLocation(login, location string) error GetLocation(login string) (string, error)