From 2549c76366baf7a08b00889982c7d7010a753676 Mon Sep 17 00:00:00 2001 From: Odboy Date: Sat, 31 Jan 2026 21:13:31 +0800 Subject: [PATCH] =?UTF-8?q?chore(example):=20=E6=9B=B4=E6=96=B0=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=E9=85=8D=E7=BD=AE=E5=8F=82=E6=95=B0=E4=B8=8E=E9=94=AE?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go-client/example/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/go-client/example/main.go b/go-client/example/main.go index 912f9ac..fa6d6d3 100644 --- a/go-client/example/main.go +++ b/go-client/example/main.go @@ -13,8 +13,8 @@ func main() { // create config cfg := &client.Config{ BaseURL: "http://localhost:8080", - AppName: "myapp", - Env: "dev", + AppName: "kenaito-springboot-demo", + Env: "daily", Version: "latest", SyncInterval: 30, // sync every 30 seconds CacheDir: ".", @@ -44,8 +44,8 @@ func main() { } // get specific config - dbHost := c.Get("db.host") - fmt.Printf("\ndb.host = %s\n", dbHost) + dbHost := c.Get("database.host") + fmt.Printf("\ndatabase.host = %s\n", dbHost) // keep running until signal fmt.Println("\nListening for config changes... (press Ctrl+C to stop)")