You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/relui/main.go
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,18 @@ import (
9
9
"context"
10
10
"flag"
11
11
"log"
12
+
"net/url"
12
13
13
14
"github.com/jackc/pgx/v4/pgxpool"
14
15
"golang.org/x/build/internal/https"
15
16
"golang.org/x/build/internal/relui"
16
17
)
17
18
18
19
var (
19
-
pgConnect=flag.String("pg-connect", "", "Postgres connection string or URI. If empty, libpq connection defaults are used.")
20
-
migrateOnly=flag.Bool("migrate-only", false, "Exit after running migrations. Migrations are run by default.")
20
+
baseURL=flag.String("base-url", "", "Prefix URL for routing and links.")
21
21
downUp=flag.Bool("migrate-down-up", false, "Run all Up migration steps, then the last down migration step, followed by the final up migration. Exits after completion.")
22
+
migrateOnly=flag.Bool("migrate-only", false, "Exit after running migrations. Migrations are run by default.")
23
+
pgConnect=flag.String("pg-connect", "", "Postgres connection string or URI. If empty, libpq connection defaults are used.")
0 commit comments