// FromModels converts the input mapping.Model into []*Post.
FromModels converts the input mapping.Model into []*Post.
// FromModels converts the input mapping . Model into [] * Post .
func (p *_Posts) FromModels(input ...mapping.Model) []*Post {
	output := make([]*Post, len(input))
	for i := range input {
		output[i] = input[i].(*Post)
	}
	return output
}
func ( p * _Posts ) FromModels ( input ... mapping . Model ) [ ] * Post { output := make ( [ ] * Post , len ( input ) ) for i := range input { output [ i ] = input [ i ] . ( * Post ) } return output }
FromModels converts the input mapping.Model into []*Post.
FromModels converts the input mapping . Model into [] * Post .