Skip to content

Commit

Permalink
docs: fix syntax error of the example of inspecting errors (#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
toshitanian authored Mar 16, 2021
1 parent 839f237 commit 247d184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
// `*googleapis.Error`. This can be useful for getting more information on an
// error while debugging.
// if _, err := svc.FooCall().Do(); err != nil {
// gErr, ok := err.(*googleapi.Error); ok {
// if gErr, ok := err.(*googleapi.Error); ok {
// fmt.Println("Status code: %v", gErr.Code)
// }
// }
Expand Down

0 comments on commit 247d184

Please sign in to comment.