// GetFieldValue implements mapping.Fielder interface.
GetFieldValue implements mapping.Fielder interface.
// GetFieldValue implements mapping . Fielder interface .
func (c *Comment) GetFieldValue(field *mapping.StructField) (interface{}, error) {
	switch field.Index[0] {
	case 0: 
		return c.ID, nil
	case 1: 
		return c.Body, nil
	case 3: 
		return c.PostID, nil
	}
	return nil, errors.Wrapf(mapping.ErrInvalidModelField, "provided invalid field: '%s' for given model: Comment'", field.Name())
}
func ( c * Comment ) GetFieldValue ( field * mapping . StructField ) ( interface { } , error ) { switch field . Index [ 0 ] { case 0 : return c . ID , nil case 1 : return c . Body , nil case 3 : return c . PostID , nil } return nil , errors . Wrapf ( mapping . ErrInvalidModelField , " " , field . Name ( ) ) }
GetFieldValue implements mapping.Fielder interface.
GetFieldValue implements mapping . Fielder interface .
// ID // Body // PostID