feat: refactor auth package and add get users for staff

This commit is contained in:
ericprd
2025-03-07 17:39:26 +08:00
parent c48a4b944b
commit fdf572cd3d
29 changed files with 203 additions and 78 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"gorm.io/gorm"
)
func (sr *impl) GetStaffByEmail(email string) (*staffdomain.Staff, error) {
func (sr *accessor) GetStaffByEmail(email string) (*staffdomain.Staff, error) {
var staff staffdomain.Staff
if email == "" {