mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
BREAKING CHANGE: mongodb database and collection ISN'T LONGER IN ENV MUST BE IN config.toml, and RENAME MONGODB_URI to MONGO_URI IN .env. Deleted node in config.
16 lines
174 B
Go
16 lines
174 B
Go
package config
|
|
|
|
import (
|
|
"os"
|
|
|
|
_ "github.com/joho/godotenv/autoload"
|
|
)
|
|
|
|
var (
|
|
// mongo
|
|
Mongo_URI = os.Getenv("MONGO_URI")
|
|
|
|
// github
|
|
GH_Token = os.Getenv("GH_TOKEN")
|
|
)
|