Start adding support for lob
This commit is contained in:
parent
e3f9a19b84
commit
03dccb638a
4 changed files with 21 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ var (
|
|||
ForwardEmailNidusAddress string
|
||||
ForwardEmailNidusPassword string
|
||||
ForwardEmailNidusUsername string
|
||||
LobAPIKey string
|
||||
PGDSN string
|
||||
PhoneNumberReport phonenumbers.PhoneNumber
|
||||
PhoneNumberReportStr string
|
||||
|
|
@ -135,6 +136,10 @@ func Parse() (err error) {
|
|||
if ForwardEmailNidusPassword == "" {
|
||||
return fmt.Errorf("You must specify a non-empty FORWARDEMAIL_NIDUS_PASSWORD")
|
||||
}
|
||||
LobAPIKey = os.Getenv("LOB_API_KEY")
|
||||
if LobAPIKey == "" {
|
||||
return fmt.Errorf("You must specify a non-empty LOB_API_KEY")
|
||||
}
|
||||
PGDSN = os.Getenv("POSTGRES_DSN")
|
||||
if PGDSN == "" {
|
||||
return fmt.Errorf("You must specify a non-empty POSTGRES_DSN")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue