Skip to content

Commit

Permalink
doc: remove bad example
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Ya-Jun committed Feb 20, 2024
1 parent a9ef229 commit 250f077
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions demo/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ func clientExample() {
// SetHeaders(map[string]string{"X-Bkapi-Header": "demo"}).
// SetResult(&result).Request()

//_, _ = client.StatusCode(bkapi.OptSetRequestQueryParams(map[string]string{
// "code": `200`,
//})).SetResult(&result).Request()

_, _ = apiOperation.SetResult(&result).Request()
// 结果将自动填充到 result 中
fmt.Printf("%#v", result)
Expand Down

0 comments on commit 250f077

Please sign in to comment.