shad-go/lectures/07-sql/sql/driver.go

8 lines
182 B
Go
Raw Normal View History

2020-04-08 19:20:23 +00:00
type Driver interface {
Open(name string) (Conn, error)
}
type QueryerContext interface {
QueryContext(ctx context.Context, query string, args []NamedValue) (Rows, error)
}