Versions in this module Expand all Collapse all v2 v2.1.0 Aug 8, 2021 Changes in this version + type Hook struct + func New(tracer opentracing.Tracer) *Hook + func (h *Hook) After(ctx context.Context, query string, args ...interface{}) (context.Context, error) + func (h *Hook) Before(ctx context.Context, query string, args ...interface{}) (context.Context, error) + func (h *Hook) OnError(ctx context.Context, err error, query string, args ...interface{}) error Other modules containing this package github.com/qustavo/sqlhooks