From 2837818b67f39d5dfb49a6b37f7d8a23ef263896 Mon Sep 17 00:00:00 2001 From: Artemiy Ryabinkov Date: Tue, 18 Jun 2019 17:09:38 +0300 Subject: [PATCH] fix typo Signed-off-by: Artemiy Ryabinkov --- conn.go | 2 +- conn_config_test.go.example | 1 + conn_config_test.go.travis | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conn.go b/conn.go index a6ea78f1..153c7a3d 100644 --- a/conn.go +++ b/conn.go @@ -441,7 +441,7 @@ func connect(config ConnConfig, connInfo *pgtype.ConnInfo) (c *Conn, err error) return c, nil } - // To keep backwards, if specific error type expected. + // To keep backwards compatibility, if specific error type expected. if len(errs) == 1 { return nil, errs[0] } diff --git a/conn_config_test.go.example b/conn_config_test.go.example index 620b0ea1..2ca84ac3 100644 --- a/conn_config_test.go.example +++ b/conn_config_test.go.example @@ -8,6 +8,7 @@ import ( // "io/ioutil" // "path" // "net" + // "time" "github.com/jackc/pgx" ) diff --git a/conn_config_test.go.travis b/conn_config_test.go.travis index 738f1112..fbfb5252 100644 --- a/conn_config_test.go.travis +++ b/conn_config_test.go.travis @@ -6,6 +6,7 @@ import ( "os" "strconv" "net" + "time" ) var defaultConnConfig = &pgx.ConnConfig{Host: "127.0.0.1", User: "pgx_md5", Password: "secret", Database: "pgx_test"}