With the current version, I have those errors when trying to use the
hook:
cannot use pgdebug.DebugHook{...} (type pgdebug.DebugHook) as type pg.QueryHook in argument to db.baseDB.AddQueryHook:
pgdebug.DebugHook does not implement pg.QueryHook (BeforeQuery method has pointer receiver)
cannot use pgotel.TracingHook{} (type pgotel.TracingHook) as type pg.QueryHook in argument to db.baseDB.AddQueryHook:
pgotel.TracingHook does not implement pg.QueryHook (AfterQuery method has pointer receiver)
With the current version, I have those errors when trying to use the hook: