Add update username method

This commit is contained in:
Marco Realacci 2022-11-18 17:18:46 +01:00
parent 626b7fa3e9
commit 7c2c993dc3
10 changed files with 82 additions and 9 deletions

View file

@ -40,7 +40,7 @@ import (
type AppDatabase interface {
UserExists(uid string) (bool, error)
GetUserID(name string) (string, error)
SetName(name string) error
UpdateUsername(uid, name string) error
CreateUser(name string) (string, error)
FollowUser(uid string, follow string) error
UnfollowUser(uid string, unfollow string) error