From 932207bbc9de583b40c899dc31a9c6af76355d61 Mon Sep 17 00:00:00 2001 From: hanyajun <1581532052@qq.com> Date: Mon, 19 Feb 2024 16:34:56 +0800 Subject: [PATCH] doc: fix cr --- demo/example.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/example.go b/demo/example.go index 84fb186..d4a1ca1 100644 --- a/demo/example.go +++ b/demo/example.go @@ -2,9 +2,9 @@ package demo import ( "fmt" + "log" "github.com/TencentBlueKing/bk-apigateway-sdks/core/bkapi" - "github.com/google/martian/log" ) func clientExample() { @@ -20,7 +20,7 @@ func clientExample() { Stage: "prod", }) if err != nil { - log.Errorf("registry default config error: %v", err) + log.Printf("registry default config error: %v", err) return } @@ -39,7 +39,7 @@ func clientExample() { }, bkapi.OptJsonResultProvider()) if err != nil { - log.Errorf("client init error: %v", err) + log.Printf("client init error: %v", err) return } // 创建结果变量