Full threadrgarcia·Pattern 5: use the iterator pattern that Go ships with, e.g. in sql.Rows: http://golang.org/pkg/database/sql/#Rows.View on HN