Help us shape the future of Go! Take the 2026 Go Developer Survey

bootstrap

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func SetValues

func SetValues() (values *common.Values, err error)

SetValues 初始化配置

func UseDatabase

func UseDatabase(client *mongo.Client, values *common.Values) (db *mongo.Database)

func UseMongoDB

func UseMongoDB(values *common.Values) (*mongo.Client, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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