type golang.org/x/pkgsite/internal/database.wrapConn
11 uses
golang.org/x/pkgsite/internal/database (current package)
copy.go#L81: if w, ok := c.(*wrapConn); ok {
driver.go#L45: return &wrapConn{conn, oc.(iconn)}, nil
driver.go#L60: type wrapConn struct {
driver.go#L67: func (c *wrapConn) Ping(ctx context.Context) error { return c.oc.Ping(ctx) }
driver.go#L69: func (c *wrapConn) Prepare(query string) (driver.Stmt, error) { return c.oc.Prepare(query) }
driver.go#L70: func (c *wrapConn) Close() error { return c.oc.Close() }
driver.go#L71: func (c *wrapConn) Begin() (driver.Tx, error) { return nil, errors.New("unimplmented") }
driver.go#L73: func (c *wrapConn) ExecContext(ctx context.Context, q string, args []driver.NamedValue) (driver.Result, error) {
driver.go#L77: func (c *wrapConn) QueryContext(ctx context.Context, q string, args []driver.NamedValue) (driver.Rows, error) {
driver.go#L81: func (c *wrapConn) PrepareContext(ctx context.Context, query string) (driver.Stmt, error) {
driver.go#L85: func (c *wrapConn) BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, error) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |