shad-go/lectures/07-sql/sql/driver.go
2020-04-08 22:20:23 +03:00

7 lines
182 B
Go

type Driver interface {
Open(name string) (Conn, error)
}
type QueryerContext interface {
QueryContext(ctx context.Context, query string, args []NamedValue) (Rows, error)
}