// SetFieldZeroValue implements mapping.Fielder interface.s
SetFieldZeroValue implements mapping.Fielder interface.s
// SetFieldZeroValue implements mapping . Fielder interface . s
func (b *Blog) SetFieldZeroValue(field *mapping.StructField) error {
	switch field.Index[0] {
	case 0: 
		b.ID = 0
	case 1: 
		b.CreatedAt = time.Time{}
	case 2: 
		b.Title = ""
	case 5: 
		b.TopPostID = 0
	default:
		return errors.Wrapf(mapping.ErrInvalidModelField, "provided invalid field name: '%s'", field.Name())
	}
	return nil
}
func ( b * Blog ) SetFieldZeroValue ( field * mapping . StructField ) error { switch field . Index [ 0 ] { case 0 : b . ID = 0 case 1 : b . CreatedAt = time . Time { } case 2 : b . Title = " " case 5 : b . TopPostID = 0 default : return errors . Wrapf ( mapping . ErrInvalidModelField , " " , field . Name ( ) ) } return nil }
SetFieldZeroValue implements mapping.Fielder interface.s
SetFieldZeroValue implements mapping . Fielder interface . s
// ID // CreatedAt // Title // TopPostID