Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Jan 4, 2020
1 parent c86c0be commit 1bec0ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -202,4 +202,4 @@ This software is released under the MIT License, see LICENSE file.

## godoc

See [godoc](https://godoc.org/github.com/shogo82148/go-sql-proxy) for more imformation.
See [godoc](https://godoc.org/github.com/shogo82148/go-sql-proxy) for more information.
14 changes: 7 additions & 7 deletions proxy.go
@@ -1,4 +1,4 @@
// a proxy package is a proxy driver for dabase/sql.
// a proxy package is a proxy driver for database/sql.

package proxy

Expand Down Expand Up @@ -71,7 +71,7 @@ type HooksContext struct {
// `Hooks.PrePing` method, and may be nil.
//
// If this callback returns an error, then the error from this
// callback is returned by the `Cpnn.Ping` method.
// callback is returned by the `Conn.Ping` method.
Ping func(c context.Context, ctx interface{}, conn *Conn) error

// PostPing is a callback that gets called at the end of
Expand Down Expand Up @@ -294,7 +294,7 @@ type HooksContext struct {
// `Hooks.PreClose` method, and may be nil.
//
// If this callback returns an error, then the error from this
// callback is returned by the `Cpnn.Close` method.
// callback is returned by the `Conn.Close` method.
Close func(c context.Context, ctx interface{}, conn *Conn) error

// PostClose is a callback that gets called at the end of
Expand Down Expand Up @@ -326,7 +326,7 @@ type HooksContext struct {
// `Hooks.PreResetSession` method, and may be nil.
//
// If this callback returns an error, then the error from this
// callback is returned by the `Cpnn.ResetSession` method.
// callback is returned by the `Conn.ResetSession` method.
ResetSession func(c context.Context, ctx interface{}, conn *Conn) error

// PostResetSession is a callback that gets called at the end of
Expand Down Expand Up @@ -551,7 +551,7 @@ type Hooks struct {
// `Hooks.PrePing` method, and may be nil.
//
// If this callback returns an error, then the error from this
// callback is returned by the `Cpnn.Ping` method.
// callback is returned by the `Conn.Ping` method.
Ping func(ctx interface{}, conn *Conn) error

// PostPing is a callback that gets called at the end of
Expand Down Expand Up @@ -774,7 +774,7 @@ type Hooks struct {
// `Hooks.PreClose` method, and may be nil.
//
// If this callback returns an error, then the error from this
// callback is returned by the `Cpnn.Close` method.
// callback is returned by the `Conn.Close` method.
Close func(ctx interface{}, conn *Conn) error

// PostClose is a callback that gets called at the end of
Expand Down Expand Up @@ -806,7 +806,7 @@ type Hooks struct {
// `Hooks.PreResetSession` method, and may be nil.
//
// If this callback returns an error, then the error from this
// callback is returned by the `Cpnn.ResetSession` method.
// callback is returned by the `Conn.ResetSession` method.
ResetSession func(ctx interface{}, conn *Conn) error

// PostResetSession is a callback that gets called at the end of
Expand Down

0 comments on commit 1bec0ef

Please sign in to comment.