get app pw

master
Bel LaPointe 2022-01-09 23:04:13 -05:00
parent 1f75dda04d
commit db64594c51
2 changed files with 8 additions and 0 deletions

View File

@ -7,5 +7,11 @@
"Mock": true, "Mock": true,
"Cookie": "" "Cookie": ""
} }
},
"Emailer": {
"From": "breellocaldev@gmail.com",
"POP3": "pop.gmail.com:995",
"Password": "gojfkkfrkmtxzyro",
"Limit": 1
} }
} }

View File

@ -3,6 +3,7 @@ package config
import ( import (
"encoding/json" "encoding/json"
"io/ioutil" "io/ioutil"
"local/sandbox/contact/contact"
"local/storage" "local/storage"
"os" "os"
"sync" "sync"
@ -19,6 +20,7 @@ type Config struct {
Cookie string Cookie string
} }
} }
Emailer contact.Emailer
lock sync.Mutex lock sync.Mutex
db storage.DB db storage.DB