package types type StaffStore interface { GetStaff(name string) (*Staff, error) } type Staff struct { M_StaffID int `json:"M_StaffID" db:"M_StaffID"` M_StaffName string `json:"M_StaffName" db:"M_StaffName"` M_StaffEmail string `json:"M_StaffEmail" db:"M_StaffEmail"` M_StaffNakesID string `json:"M_StaffNakesID" db:"M_StaffNakesID"` M_StaffIsActive string `json:"M_StaffIsActive" db:"M_StaffIsActive"` } type GetStaffPayload struct { StaffName string `json:"staffname"` }