From 2e51164a329f0dbe3077d72c33b482322dbb15f3 Mon Sep 17 00:00:00 2001
From: Immanuel Onyeka <immanuel@onyeka.ca>
Date: Fri, 14 Jul 2023 13:54:22 -0400
Subject: [PATCH] Check vA and USDA loan types

---
 skouter.go | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/skouter.go b/skouter.go
index 2f18d98..40bddde 100644
--- a/skouter.go
+++ b/skouter.go
@@ -924,6 +924,16 @@ func checkFHA(l Loan, b Borrower) error {
 	return nil
 }
 
+// Loan option for veterans with no set rules
+func checkVA(l Loan, b Borrower) error {
+	return nil
+}
+
+// Loan option for residents of rural areas with no set rules
+func checkUSDA(l Loan, b Borrower) error {
+	return nil
+}
+
 // Should also check loan amount limit maybe with an API.
 func checkEstimate(e Estimate) error {
 	if e.Property == "" { return errors.New("Empty property type") }
@@ -960,9 +970,9 @@ func checkEstimate(e Estimate) error {
 		case 2:
 			err = checkFHA(l, e.Borrower)
 		case 3:
-			err = checkConventional(l, e.Borrower)
+			err = checkVA(l, e.Borrower)
 		case 4:
-			err = checkConventional(l, e.Borrower)
+			err = checkUSDA(l, e.Borrower)
 		default:
 			err = errors.New("Invalid loan type")
 		}