3 ms·
The database/sql package is just bad anyway. The idea is sound but the execution is catastrophic and not many thought went into the design of this package. This
by camus2 9y ago
The database/sql package is just bad anyway. The idea is sound but the execution is catastrophic and not many thought went into the design of this package. This is especially true with Postgresql where you are kind of forced to use db.Query instead of db.Exec on inserts or updates. Go std lib have a lot of issues like these. On the top of my head the log package and the flags package are pretty useless in real world apps.