diff --git a/satisfactory-metadata/main.go b/satisfactory-metadata/main.go index 5d85109..4838bfc 100644 --- a/satisfactory-metadata/main.go +++ b/satisfactory-metadata/main.go @@ -21,7 +21,12 @@ var ( ) func main() { + // Get parameters + flag.Parse() + psqlconn := fmt.Sprintf("host=%s port=%d user=%s password=%s dbname=%s sslmode=disable", pgHost, pgPort, pgUser, pgPassword, pgDb) + fmt.Println(psqlconn) + db, err := sql.Open("postgres", psqlconn) if err != nil {