Skip to content

Commit

Permalink
Merge pull request #63 from nasa9084/fix-document-comment-for-ping
Browse files Browse the repository at this point in the history
fix doc string for HooksContext.Ping
  • Loading branch information
shogo82148 committed Feb 4, 2021
2 parents a60ed77 + aab93c4 commit 1abe439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type HooksContext struct {
// methods are not called.
PrePing func(c context.Context, conn *Conn) (interface{}, error)

// Ping is called after the underlying driver's `Conn.Exec` method
// Ping is called after the underlying driver's `Conn.Ping` method
// returns without any errors.
//
// The `ctx` parameter is the return value supplied from the
Expand Down

0 comments on commit 1abe439

Please sign in to comment.