general purpose extensions to golang's database/sql
I agree with this, but at the same time, it is very easy to get this wrong. For instance, a dev could use MustExec in the sqlx driver (or use it unknowingly through a 3rd party) and if something goes wrong with the query, the entire program crashes: https://github.com/jmoiron/sqlx/blob/00c6e74d816a1ce682afa7699a94c6b29b5f3c7c/named.go#L74
The Go programming language
Nice. What's the purpose of NullInt64 then? https://github.com/golang/go/blob/master/src/database/sql/sql.go#L214
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
7 projects | news.ycombinator.com | 3 Oct 2021
Simple software things that are actually very complicated
2 projects | news.ycombinator.com | 22 May 2022
Why are enums not a thing in Go?
5 projects | reddit.com/r/golang | 22 May 2022
Proposal: Go 2: Lightweight anonymous function syntax
2 projects | news.ycombinator.com | 20 May 2022
Robert Griesemer has created a prototype for rewriting anonymous functions to two of the lightweight forms proposed in #21498 and used it to experiment on the Go source.
1 project | reddit.com/r/RedSec | 20 May 2022