News for hackers. Stuff that matters.
Re:In a leaked recording, AWS CEO tells most developers coul... by 0xjnml on Thursday August 22, 2024 @08:12AM (#41319371)
Except AI was correct this time.

"It is rare to Close a DB, as the DB handle is meant to be long-lived and shared between many goroutines."

source: https://pkg.go.dev/database/sql#DB.Close

Re:In a leaked recording, AWS CEO tells most developers coul... by pram on Thursday August 22, 2024 @10:57AM (#41321042)
No. That was the reply after I corrected it, as in it originally told me to call Close after every *sql.DB handle.