GoLang | SQLC | How to log SQL queries when invoked using fmt

Viewed 27

How to log SQLC queries with the values passed to the receiver functions?

What I'm thinking is to get the constant variable of the query and format it using a function.

Is there any easier way or SQLC feature for this?

Thank you!

0 Answers
Related