// BeforeSave sets CTime and MTime to current unix-timestamp
BeforeSave sets CTime and MTime to current unix-timestamp
// BeforeSave sets CTime and MTime to current unix - timestamp
func (b *Base) BeforeSave(scope *gorm.Scope) (err error) {
	scope.SetColumn("CTime", time.Now().Unix())
	scope.SetColumn("MTime", time.Now().Unix())
	return nil
}
func ( b * Base ) BeforeSave ( scope * gorm . Scope ) ( err error ) { scope . SetColumn ( " " , time . Now ( ) . Unix ( ) ) scope . SetColumn ( " " , time . Now ( ) . Unix ( ) ) return nil }
BeforeSave sets CTime and MTime to current unix-timestamp
BeforeSave sets CTime and MTime to current unix - timestamp