Skip to content

Commit ccf112d

Browse files
committed
v3
Implement the spirit of previous versions in a single file with just a few simple functions. Adds inherent support for prepared statements, as well as QueryRowContext. It is very plausible that this module, which is now less than 100 lines of code, is a good candidate for copy-paste installation.
1 parent a908b82 commit ccf112d

34 files changed

+95
-2130
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test: fmt
44
GORACE="atexit_sleep_ms=50" go test -timeout=1s -race -covermode=atomic ./...
55

66
fmt:
7-
go fmt ./...
7+
go mod tidy && go fmt ./...
88

99
compile:
1010
go build ./...

binding_connection_pool_adapter.go

Lines changed: 0 additions & 41 deletions
This file was deleted.

binding_connection_pool_adapter_test.go

Lines changed: 0 additions & 87 deletions
This file was deleted.

binding_selector_adapter.go

Lines changed: 0 additions & 37 deletions
This file was deleted.

binding_selector_adapter_test.go

Lines changed: 0 additions & 106 deletions
This file was deleted.

binding_transaction_adapter.go

Lines changed: 0 additions & 19 deletions
This file was deleted.

binding_transaction_adapter_test.go

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)