feat: user manage api

This commit is contained in:
Noah Hsu
2022-06-26 19:36:27 +08:00
parent 6b9bca893b
commit cab498e376
5 changed files with 101 additions and 10 deletions

View File

@ -3,7 +3,8 @@ package errs
import "errors"
var (
EmptyUsername = errors.New("username is empty")
EmptyPassword = errors.New("password is empty")
WrongPassword = errors.New("password is incorrect")
EmptyUsername = errors.New("username is empty")
EmptyPassword = errors.New("password is empty")
WrongPassword = errors.New("password is incorrect")
DeleteAdminOrGuest = errors.New("cannot delete admin or guest")
)