Exemplo n.º 1
0
func FindPostsOmitContentAndCreated(q *qbs.Qbs) ([]*Post, error) {
	var posts []*Post
	err := q.OmitFields("Content", "Created").Find(&posts)
	return posts, err
}