mongotool

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultMongoDB

func GetDefaultMongoDB() *mongo.Database

func InitDefaultMongoClient

func InitDefaultMongoClient()

初始化客户端

func NewMongoClient

func NewMongoClient(uri string) (*mongo.Client, error)

创建新的MongoDB客户端

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL