From 327a32f563394f92313e4a751515d69d90f4e7f5 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 12 Oct 2025 23:30:08 +0530 Subject: formatted code --- customer/customer.go | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'customer/customer.go') diff --git a/customer/customer.go b/customer/customer.go index 0d107d7..cf5c3f1 100644 --- a/customer/customer.go +++ b/customer/customer.go @@ -23,6 +23,7 @@ import ( ) var db *gorm.DB + func init() { db = d.DB @@ -31,18 +32,18 @@ func init() { type Customer struct { gorm.Model - FirmName string - Gstin string - ContactName string - Phone string - Email string - Website string - - BillingAddressText string - BillingAddressCity string - BillingAddressState string - BillingAddressPostalCode string - BillingAddressCountry string + FirmName string + Gstin string + ContactName string + Phone string + Email string + Website string + + BillingAddressText string + BillingAddressCity string + BillingAddressState string + BillingAddressPostalCode string + BillingAddressCountry string ShippingAddressText string ShippingAddressCity string -- cgit v1.2.3