Discover Packages
github.com/romaxa83/mst-app
pkg
mongodb
package
Version:
v0.0.0-...-358e048
Opens a new window with list of versions in this module.
Published: Feb 28, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewMongoDBConn Create new MongoDB client
type Config struct {
URI string `mapstructure:"uri"`
User string `mapstructure:"user"`
Password string `mapstructure:"password"`
Db string `mapstructure:"db"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.