Registry / testing / pashagolub-pgxmock

pashagolub-pgxmock

JSON →
library1.8.0gogounverified

A mock library implementing the pgx connector interface for testing database interactions.

go get github.com/pashagolub/pgxmock
INSTALL
IMPORT
SIG · PASHAGOLUB-PGXMOCK
P
pashagolub-pgxmock
testinggov1.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pgxmock
github.com/pashagolub/pgxmock

Create a mock pgx pool

package main import ( "fmt" "github.com/pashagolub/pgxmock" ) func main() { mock, _ := pgxmock.NewPool() defer mock.Close() fmt.Println("Mock pool created") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.8.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Resources
pashagolub-pgxmock — go get pashagolub-pgxmock · libregistry