lint fixes

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-09-30 21:13:13 +03:00
parent 7b2e3cc8aa
commit 3247d144a8
14 changed files with 62 additions and 46 deletions

View File

@@ -49,7 +49,7 @@ func (p *poolConn) Close() error {
return nil
}
func (p *poolConn) Id() string {
func (p *poolConn) ID() string {
return p.id
}

View File

@@ -21,7 +21,7 @@ type Pool interface {
// Conn conn pool interface
type Conn interface {
// unique id of connection
Id() string
ID() string
// time it was created
Created() time.Time
// embedded connection