vend with
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package with
|
||||
|
||||
import (
|
||||
"context"
|
||||
"database/sql"
|
||||
|
||||
_ "github.com/lib/pq"
|
||||
)
|
||||
|
||||
func PSQL(ctx context.Context, conn string, foo func(*sql.DB) error) error {
|
||||
return _sql(ctx, "postgres", conn, foo)
|
||||
}
|
||||
Reference in New Issue
Block a user