Our great sponsors
-
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
-
Nice. What's the purpose of NullInt64 then? https://github.com/golang/go/blob/master/src/database/sql/sql.go#L214
-
SonarLint
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.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Effective Go
- Simple software things that are actually very complicated
- Why are enums not a thing in Go?
- Proposal: Go 2: Lightweight anonymous function syntax
- 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.