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,
"Cookie": ""
}
},
"Emailer": {
"From": "breellocaldev@gmail.com",
"POP3": "pop.gmail.com:995",
"Password": "gojfkkfrkmtxzyro",
"Limit": 1
}
}

View File

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