func (c *Comment) GetFieldsAddress(field *mapping.StructField) (interface{}, error) {
	switch field.Index[0] {
	case 0: // ID
		return &c.ID, nil
	case 1: // Body
		return &c.Body, nil
	case 3: // PostID
		return &c.PostID, nil
	}
	return nil, errors.Wrapf(mapping.ErrInvalidModelField, "provided invalid field: '%s' for given model: Comment'", field.Name())
}
// GetFieldsAddress gets the address of provided 'field'.
GetFieldsAddress gets the address of provided 'field'.
// GetFieldsAddress gets the address of provided ' field ' .
func (c *Comment) GetFieldsAddress(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 ) GetFieldsAddress ( 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 ( ) ) }
GetFieldsAddress gets the address of provided 'field'.
GetFieldsAddress gets the address of provided ' field ' .
// ID // Body // PostID