20 lines
376 B
Go
Raw Normal View History

package serviceauth
import staffrepository "github.com/ardeman/project-legalgo-go/internal/accessor/staff"
type LoginStaffSvc struct {
staffAcs staffrepository.StaffInterface
}
type LoginStaffIntf interface {
LoginAsStaff(string) (string, error)
}
func New(
staffAcs staffrepository.StaffInterface,
) LoginStaffIntf {
return &LoginStaffSvc{
staffAcs: staffAcs,
}
}