Registry / database / qiniu-qmgo

qiniu-qmgo

JSON →
library1.1.10gogounverified

Package qmgo is a MongoDB driver for Go, providing a simple and efficient API for database operations.

go get github.com/qiniu/qmgo
INSTALL
IMPORT
SIG · QINIU-QMGO
Q
qiniu-qmgo
databasegov1.1.10
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.

qmgo
github.com/qiniu/qmgo

Connect to a MongoDB instance.

package main import ( "context" "fmt" "github.com/qiniu/qmgo" ) func main() { ctx := context.Background() client, err := qmgo.NewClient(ctx, &qmgo.Config{Uri: "mongodb://localhost:27017"}) if err != nil { panic(err) } defer client.Close(ctx) fmt.Println("Connected to MongoDB") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
6
Meta
1
Amazon
1
Resources
qiniu-qmgo — go get qiniu-qmgo · libregistry