mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
- Add toml config, golint to gitpod Dockerfile - Update nodemon, backend status, Readme - Move MongoDB to mongo folder in db
13 lines
218 B
Go
13 lines
218 B
Go
package config
|
|
|
|
import (
|
|
"os"
|
|
|
|
_ "github.com/joho/godotenv/autoload"
|
|
)
|
|
|
|
// mongo
|
|
var Mongo_URI = os.Getenv("MONGODB_URI")
|
|
var Mongo_DB = os.Getenv("MONGODB_DB")
|
|
var Mongo_Collection = os.Getenv("MONGODB_COLLECTION")
|