From 1545456e34de59233d0565cfcca7df336b77aed0 Mon Sep 17 00:00:00 2001 From: ia Date: Sun, 17 Jun 2018 00:35:49 +0200 Subject: [PATCH] all: gofmt Run standard gofmt command on project root. - go version go1.10.3 darwin/amd64 Signed-off-by: ia --- log.go | 8 ++++---- pool.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/log.go b/log.go index 286d5d7..48017e6 100644 --- a/log.go +++ b/log.go @@ -31,7 +31,7 @@ func (l *StdLogger) Debug(v ...interface{}) { } func (l *StdLogger) Debugf(format string, v ...interface{}) { - l.Printf(format + "\n", v...) + l.Printf(format+"\n", v...) } func (l *StdLogger) Error(v ...interface{}) { @@ -39,7 +39,7 @@ func (l *StdLogger) Error(v ...interface{}) { } func (l *StdLogger) Errorf(format string, v ...interface{}) { - l.Printf(format + "\n", v...) + l.Printf(format+"\n", v...) } func (l *StdLogger) Info(v ...interface{}) { @@ -47,7 +47,7 @@ func (l *StdLogger) Info(v ...interface{}) { } func (l *StdLogger) Infof(format string, v ...interface{}) { - l.Printf(format + "\n", v...) + l.Printf(format+"\n", v...) } func (l *StdLogger) Warn(v ...interface{}) { @@ -55,5 +55,5 @@ func (l *StdLogger) Warn(v ...interface{}) { } func (l *StdLogger) Warnf(format string, v ...interface{}) { - l.Printf(format + "\n", v...) + l.Printf(format+"\n", v...) } diff --git a/pool.go b/pool.go index 97f1c27..3245ac6 100644 --- a/pool.go +++ b/pool.go @@ -34,9 +34,9 @@ var ( ErrClosed = errors.New("pool is closed") ) -// Closeable interface describes a closable implementation. The underlying procedure of the Close() function is determined by its implementation +// Closeable interface describes a closable implementation. The underlying procedure of the Close() function is determined by its implementation type Closeable interface { - // Close closes the object + // Close closes the object Close() error }