1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

feat: account deletion (#99)

This commit is contained in:
Ferdinand Mütsch
2021-02-02 22:54:22 +01:00
parent a7afd73e62
commit 8bed266110
9 changed files with 330 additions and 257 deletions

View File

@@ -61,6 +61,7 @@ type IUserService interface {
GetAll() ([]*models.User, error)
CreateOrGet(*models.Signup) (*models.User, bool, error)
Update(*models.User) (*models.User, error)
Delete(*models.User) error
ResetApiKey(*models.User) (*models.User, error)
ToggleBadges(*models.User) (*models.User, error)
SetWakatimeApiKey(*models.User, string) (*models.User, error)