SYMBOL INDEX (119 symbols across 18 files) FILE: benchmark_test.go function init (line 14) | func init() { function benchmark (line 23) | func benchmark(b *testing.B, driver, dsn string) { function BenchmarkSQLite3 (line 38) | func BenchmarkSQLite3(b *testing.B) { function BenchmarkMySQL (line 48) | func BenchmarkMySQL(b *testing.B) { function BenchmarkPostgres (line 63) | func BenchmarkPostgres(b *testing.B) { FILE: compose.go function Compose (line 13) | func Compose(hooks ...Hooks) Hooks { type composed (line 17) | type composed method Before (line 19) | func (c composed) Before(ctx context.Context, query string, args ...in... method After (line 33) | func (c composed) After(ctx context.Context, query string, args ...int... method OnError (line 48) | func (c composed) OnError(ctx context.Context, cause error, query stri... function wrapErrors (line 60) | func wrapErrors(def error, errors []error) error { type MultipleErrors (line 72) | type MultipleErrors method Error (line 74) | func (m MultipleErrors) Error() string { FILE: compose_test.go function TestCompose (line 36) | func TestCompose(t *testing.T) { function TestWrapErrors (line 75) | func TestWrapErrors(t *testing.T) { FILE: hooks/loghooks/example_test.go function Example (line 10) | func Example() { FILE: hooks/loghooks/examples/main.go function main (line 12) | func main() { FILE: hooks/loghooks/loghooks.go type logger (line 12) | type logger interface type Hook (line 16) | type Hook struct method Before (line 25) | func (h *Hook) Before(ctx context.Context, query string, args ...inter... method After (line 29) | func (h *Hook) After(ctx context.Context, query string, args ...interf... method OnError (line 34) | func (h *Hook) OnError(ctx context.Context, err error, query string, a... function New (line 20) | func New() *Hook { FILE: hooks/othooks/examples/main.go function main (line 14) | func main() { FILE: hooks/othooks/othooks.go type Hook (line 10) | type Hook struct method Before (line 18) | func (h *Hook) Before(ctx context.Context, query string, args ...inter... method After (line 33) | func (h *Hook) After(ctx context.Context, query string, args ...interf... method OnError (line 42) | func (h *Hook) OnError(ctx context.Context, err error, query string, a... function New (line 14) | func New(tracer opentracing.Tracer) *Hook { FILE: hooks/othooks/othooks_test.go function init (line 20) | func init() { function TestSpansAreRecorded (line 26) | func TestSpansAreRecorded(t *testing.T) { function TestNoSpansAreRecorded (line 63) | func TestNoSpansAreRecorded(t *testing.T) { FILE: sqlhooks.go type Hook (line 10) | type Hook type ErrorHook (line 13) | type ErrorHook type Hooks (line 16) | type Hooks interface type OnErrorer (line 22) | type OnErrorer interface function handlerErr (line 26) | func handlerErr(ctx context.Context, hooks Hooks, err error, query strin... type Driver (line 40) | type Driver struct method Open (line 46) | func (drv *Driver) Open(name string) (driver.Conn, error) { type Conn (line 78) | type Conn struct method PrepareContext (line 83) | func (conn *Conn) PrepareContext(ctx context.Context, query string) (d... method Prepare (line 102) | func (conn *Conn) Prepare(query string) (driver.Stmt, error) { return ... method Close (line 103) | func (conn *Conn) Close() error { return ... method Begin (line 104) | func (conn *Conn) Begin() (driver.Tx, error) { return ... method BeginTx (line 105) | func (conn *Conn) BeginTx(ctx context.Context, opts driver.TxOptions) ... type ExecerContext (line 110) | type ExecerContext struct method execContext (line 125) | func (conn *ExecerContext) execContext(ctx context.Context, query stri... method ExecContext (line 141) | func (conn *ExecerContext) ExecContext(ctx context.Context, query stri... method Exec (line 163) | func (conn *ExecerContext) Exec(query string, args []driver.Value) (dr... function isExecer (line 114) | func isExecer(conn driver.Conn) bool { type QueryerContext (line 172) | type QueryerContext struct method queryContext (line 187) | func (conn *QueryerContext) queryContext(ctx context.Context, query st... method QueryContext (line 203) | func (conn *QueryerContext) QueryContext(ctx context.Context, query st... function isQueryer (line 176) | func isQueryer(conn driver.Conn) bool { type ExecerQueryerContext (line 227) | type ExecerQueryerContext struct type ExecerQueryerContextWithSessionResetter (line 235) | type ExecerQueryerContextWithSessionResetter struct type SessionResetter (line 242) | type SessionResetter struct type Stmt (line 247) | type Stmt struct method execContext (line 253) | func (stmt *Stmt) execContext(ctx context.Context, args []driver.Named... method ExecContext (line 266) | func (stmt *Stmt) ExecContext(ctx context.Context, args []driver.Named... method queryContext (line 288) | func (stmt *Stmt) queryContext(ctx context.Context, args []driver.Name... method QueryContext (line 300) | func (stmt *Stmt) QueryContext(ctx context.Context, args []driver.Name... method Close (line 322) | func (stmt *Stmt) Close() error { r... method NumInput (line 323) | func (stmt *Stmt) NumInput() int { r... method Exec (line 324) | func (stmt *Stmt) Exec(args []driver.Value) (driver.Result, error) { r... method Query (line 325) | func (stmt *Stmt) Query(args []driver.Value) (driver.Rows, error) { r... function Wrap (line 329) | func Wrap(driver driver.Driver, hooks Hooks) driver.Driver { function namedToInterface (line 333) | func namedToInterface(args []driver.NamedValue) []interface{} { function namedValueToValue (line 342) | func namedValueToValue(named []driver.NamedValue) ([]driver.Value, error) { FILE: sqlhooks_1_10.go function isSessionResetter (line 10) | func isSessionResetter(conn driver.Conn) bool { method ResetSession (line 15) | func (s *SessionResetter) ResetSession(ctx context.Context) error { FILE: sqlhooks_1_10_interface_test.go function init (line 7) | func init() { FILE: sqlhooks_interface_test.go type fakeDriver (line 27) | type fakeDriver struct method Open (line 29) | func (d *fakeDriver) Open(dsn string) (driver.Conn, error) { type FakeConnBasic (line 74) | type FakeConnBasic struct method Prepare (line 76) | func (*FakeConnBasic) Prepare(query string) (driver.Stmt, error) { method Close (line 79) | func (*FakeConnBasic) Close() error { method Begin (line 82) | func (*FakeConnBasic) Begin() (driver.Tx, error) { method BeginTx (line 85) | func (*FakeConnBasic) BeginTx(context.Context, driver.TxOptions) (driv... type FakeConnExecer (line 89) | type FakeConnExecer struct method Exec (line 91) | func (*FakeConnExecer) Exec(query string, args []driver.Value) (driver... type FakeConnExecerContext (line 95) | type FakeConnExecerContext struct method ExecContext (line 97) | func (*FakeConnExecerContext) ExecContext(ctx context.Context, query s... type FakeConnQueryer (line 101) | type FakeConnQueryer struct method Query (line 103) | func (*FakeConnQueryer) Query(query string, args []driver.Value) (driv... type FakeConnQueryerContext (line 107) | type FakeConnQueryerContext struct method QueryContext (line 109) | func (*FakeConnQueryerContext) QueryContext(ctx context.Context, query... type FakeConnSessionResetter (line 113) | type FakeConnSessionResetter struct method ResetSession (line 115) | func (*FakeConnSessionResetter) ResetSession(ctx context.Context) error { type FakeConnUnsupported (line 121) | type FakeConnUnsupported struct method Prepare (line 123) | func (*FakeConnUnsupported) Prepare(query string) (driver.Stmt, error) { method Close (line 126) | func (*FakeConnUnsupported) Close() error { method Begin (line 129) | func (*FakeConnUnsupported) Begin() (driver.Tx, error) { function TestInterfaces (line 133) | func TestInterfaces(t *testing.T) { function TestUnsupportedDrivers (line 146) | func TestUnsupportedDrivers(t *testing.T) { FILE: sqlhooks_mysql_test.go function setUpMySQL (line 13) | func setUpMySQL(t *testing.T, dsn string) { function TestMySQL (line 23) | func TestMySQL(t *testing.T) { FILE: sqlhooks_postgres_test.go function setUpPostgres (line 13) | func setUpPostgres(t *testing.T, dsn string) { function TestPostgres (line 23) | func TestPostgres(t *testing.T) { FILE: sqlhooks_pre_1_10.go function isSessionResetter (line 11) | func isSessionResetter(conn driver.Conn) bool { method ResetSession (line 15) | func (s *SessionResetter) ResetSession(ctx context.Context) error { FILE: sqlhooks_sqlite3_test.go function setUp (line 14) | func setUp(t *testing.T) func() { function TestSQLite3 (line 27) | func TestSQLite3(t *testing.T) { FILE: sqlhooks_test.go type testHooks (line 16) | type testHooks struct method reset (line 28) | func (h *testHooks) reset() { method Before (line 40) | func (h *testHooks) Before(ctx context.Context, query string, args ...... method After (line 44) | func (h *testHooks) After(ctx context.Context, query string, args ...i... method OnError (line 48) | func (h *testHooks) OnError(ctx context.Context, err error, query stri... function newTestHooks (line 22) | func newTestHooks() *testHooks { type suite (line 52) | type suite struct method TestHooksExecution (line 70) | func (s *suite) TestHooksExecution(t *testing.T, query string, args ..... method testHooksArguments (line 130) | func (s *suite) testHooksArguments(t *testing.T, query string, args ..... method TestHooksArguments (line 152) | func (s *suite) TestHooksArguments(t *testing.T, query string, args ..... method testHooksErrors (line 156) | func (s *suite) testHooksErrors(t *testing.T, query string) { method TestHooksErrors (line 171) | func (s *suite) TestHooksErrors(t *testing.T, query string) { method testErrHookHook (line 175) | func (s *suite) testErrHookHook(t *testing.T, query string, args ...in... method TestErrHookHook (line 194) | func (s *suite) TestErrHookHook(t *testing.T, query string, args ...in... function newSuite (line 57) | func newSuite(t *testing.T, driver driver.Driver, dsn string) *suite { function TestNamedValueToValue (line 198) | func TestNamedValueToValue(t *testing.T) {