get app pw
This commit is contained in:
@@ -7,5 +7,11 @@
|
||||
"Mock": true,
|
||||
"Cookie": ""
|
||||
}
|
||||
},
|
||||
"Emailer": {
|
||||
"From": "breellocaldev@gmail.com",
|
||||
"POP3": "pop.gmail.com:995",
|
||||
"Password": "gojfkkfrkmtxzyro",
|
||||
"Limit": 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user