Registry / database / onsdigital-dp-mongodb-in-memory

onsdigital-dp-mongodb-in-memory

JSON →
library1.8.1gogounverified

In-memory MongoDB server for testing Go applications that use MongoDB.

go get github.com/ONSdigital/dp-mongodb-in-memory
INSTALL
IMPORT
SIG · ONSDIGITAL-DP-MONG
O
onsdigital-dp-mongodb-in-memory
databasegov1.8.1
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.

mongodbinmemory
github.com/ONSdigital/dp-mongodb-in-memory

Start an in-memory MongoDB server and get its URI.

package main import ( "fmt" "github.com/ONSdigital/dp-mongodb-in-memory" ) func main() { server, _ := mongodbinmemory.NewServer() defer server.Stop() fmt.Println(server.URI()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
onsdigital-dp-mongodb-in-memory — go get onsdigital-dp-mongodb-in-memory · libregistry