Documentation
¶
Overview ¶
Package pporacle instruments the sijms/go-ora/v2 package (https://github.com/sijms/go-ora).
This package instruments the Oracle driver calls. Use this package's driver in place of the Oracle driver.
db, err := sql.Open("oracle-pinpoint", "oracle://scott:tiger@localhost:1521/xe")
It is necessary to pass the context containing the pinpoint.Tracer to all exec and query methods on SQL driver.
ctx := pinpoint.NewContext(context.Background(), tracer) row := db.QueryRowContext(ctx, "SELECT * FROM BONUS")
Click to show internal directories.
Click to hide internal directories.