package authsvc import authdomain "legalgo-BE-go/internal/domain/auth" func (as *AuthSvc) GetStaffProfile(email string) (*authdomain.StaffProfile, error) { staff, err := as.staffRepo.GetStaffByEmail(email) if err != nil { return nil, err } profile := &authdomain.StaffProfile{ ID: staff.ID, Username: staff.Username, Email: staff.Email, } return profile, nil }