sql
database/sql
SQLCommenter provides drop-in replacement for goβs database/sql library. You can start using the SQLcommenterβs database/sql without changing your business logic code and use one of the framework instrumentation to proapagate tags and traceparent to the SQL queries. Installation go get -u github.com/google/sqlcommenter/go/database/sql Usage Please use the sqlcommenterβs go-sql database driver to open a connection and use that connection to execute statements. Due to inherent nature of Go, the safer way to pass information from framework to database driver is via context. Β»
sqlcommenter