aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/customer/hooks.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2025-10-12 23:30:08 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2025-10-12 23:30:08 +0530
commit327a32f563394f92313e4a751515d69d90f4e7f5 (patch)
tree9b49fd41ac852fa459b623f7fbe7c79aaac24418 /customer/hooks.go
parent029fe2c7a3532bc3bf435f257cdade240c8f3568 (diff)
formatted code
Diffstat (limited to 'customer/hooks.go')
-rw-r--r--customer/hooks.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/customer/hooks.go b/customer/hooks.go
index 7f715c3..2160f40 100644
--- a/customer/hooks.go
+++ b/customer/hooks.go
@@ -34,7 +34,7 @@ func (c *Customer) BeforeSave(tx *gorm.DB) error {
}
func (c *Customer) BeforeDelete(tx *gorm.DB) error {
- // if ID is 0, customer won't be deleted
+ // if ID is 0, customer won't be deleted
if c.ID == 0 {
return errors.ErrNoWhereCondition
}