conn

package
v0.0.0-...-73d8c38 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCol

func GetCol() *mongo.Collection

GetCol .

func Init

func Init()

Init 数据库连接.

func SetCol

func SetCol(str string)

SetCol .

func SetDB

func SetDB(str string)

SetDB .

Types

type Mgo

type Mgo struct {
	// contains filtered or unexported fields
}

Mgo .

Jump to

Keyboard shortcuts

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