Add company filter to Lob list addresses
...even though I never made it actually work.
This commit is contained in:
parent
ffd424df12
commit
8387cf667b
7 changed files with 42 additions and 6 deletions
|
|
@ -2,6 +2,7 @@ package main
|
|||
|
||||
import (
|
||||
"context"
|
||||
"flag"
|
||||
"log"
|
||||
"os"
|
||||
|
||||
|
|
@ -9,6 +10,11 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
company := flag.String("company", "", "Filter by addresses belonging to a particular company")
|
||||
|
||||
flag.Parse()
|
||||
log.Printf("%s", company)
|
||||
|
||||
key := os.Getenv("LOB_API_KEY")
|
||||
if key == "" {
|
||||
log.Println("LOB_API_KEY is empty")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue