Versions in this module Expand all Collapse all v2 v2.0.1 Jan 27, 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/gchaincl/sqlhooks