aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/customer/hooks.go
diff options
context:
space:
mode:
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
}