From cf987295df842e27898e7c941958608b11ffc001 Mon Sep 17 00:00:00 2001 From: ak5w <117918167+ak5w@users.noreply.github.com> Date: Sat, 30 Mar 2024 13:51:54 +0800 Subject: [PATCH] fix the usage datasource url of postgresql (#4029) (#4030) --- tools/goctl/internal/flags/default_en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/goctl/internal/flags/default_en.json b/tools/goctl/internal/flags/default_en.json index 95f2d99c..a2253f0b 100644 --- a/tools/goctl/internal/flags/default_en.json +++ b/tools/goctl/internal/flags/default_en.json @@ -178,7 +178,7 @@ "short": "Generate postgresql model", "datasource": { "short": "Generate model from datasource", - "url": "The data source of database,like \"root:password@tcp(127.0.0.1:3306)/database", + "url": "The data source of database,like \"postgres://root:password@127.0.0.1:5432/database?sslmode=disable\"", "table": "The table or table globbing patterns in the database", "schema": "The schema or schema globbing patterns in the database", "cache": "Generate code with cache [optional]",