Skip to content

Commit

Permalink
doc: fix cr
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Ya-Jun committed Feb 19, 2024
1 parent c84d550 commit 932207b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package demo

import (
"fmt"
"log"

"github.com/TencentBlueKing/bk-apigateway-sdks/core/bkapi"
"github.com/google/martian/log"
)

func clientExample() {
Expand All @@ -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
}

Expand All @@ -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
}
// 创建结果变量
Expand Down

0 comments on commit 932207b

Please sign in to comment.