mongo

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMongo added in v0.0.4

func NewMongo(config Config) *mongo.Database

Types

type Config

type Config struct {
	Url      string //连接地址
	DataBase string //数据库名称
	Password string //密码
	Enable   bool   //是否启用
}

Jump to

Keyboard shortcuts

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