Read issue #1 of Daily Digest, by Mailbrew Team.
13
Thursday November, 2025
Best way to read 100k rows from DB and write it to Excel/CSV file?

We have an auto reporting service for cleints where we read data from DB (BigQuery), write it to Excel/CSV file and then transfer it to client's SFTP or email. It has been going fine because the data is usually under 1k.

And then there's this one client who wants a …

How cool would it be for us to have readOnly types, like we do with channels?

I was looking for the language proposals and didn't see one proposing a type like func(<-MyType) which would be enforced by the compiler to be read only.

All proposals were around special characters like const or \^

Why do you think Go doesn't have a variant of the rust "mut"?

Generic receiver methods?

I'm trying to do something in the vein of

func (pool *PgPool) Query[T any](query string) ([]T, error) {...}

but the compiler complains with method must have no type parameters. Is there a way to make generic receivers (the one that doesn't return a closure)?

Twitter, RSS, YouTube, Newsletters, Weather, Calendar, ...

You can customize this digest to include all the sites and sources you want.