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
@@ -4,7 +4,7 @@ import (
staffdomain "legalgo-BE-go/internal/domain/staff"
)
func (ur *impl) Create(spec staffdomain.Staff) error {
func (ur *accessor) Create(spec staffdomain.Staff) error {
if err := ur.db.Create(&spec).Error; err != nil {
return err
}