3 ms·
sqldb-logger: https://github.com/simukti/sqldb-logger https://github.com/simukti/sqldb-logger It's a thin layer that wrap Go (Golang) SQL database driver, it d
by simukti 6y ago
sqldb-logger: https://github.com/simukti/sqldb-logger https://github.com/simukti/sqldb-logger
It's a thin layer that wrap Go (Golang) SQL database driver, it does not change sql.DB usage in any existing Go app.
It is because I prefer to use vanilla Go sql.DB in my web service and I could not find any SQL logger for Go SQL database standard library that can use structured JSON logging.