This commit is contained in:
gernest 2016-12-21 11:11:23 +03:00
parent 0fbff1e8f0
commit e651609eaa
No known key found for this signature in database
GPG Key ID: 0D2B9AA3E49EAF69
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import (
// DefaultCallback default callbacks defined by gorm
var DefaultCallback = &Callback{}
// Callback is a struct that contains all CURD callbacks
// Callback is a struct that contains all CRUD callbacks
// Field `creates` contains callbacks will be call when creating object
// Field `updates` contains callbacks will be call when updating object
// Field `deletes` contains callbacks will be call when deleting object