Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gofmt #14

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions log.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,29 @@ 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{}) {
l.Println(v...)
}

func (l *StdLogger) Errorf(format string, v ...interface{}) {
l.Printf(format + "\n", v...)
l.Printf(format+"\n", v...)
}

func (l *StdLogger) Info(v ...interface{}) {
l.Println(v...)
}

func (l *StdLogger) Infof(format string, v ...interface{}) {
l.Printf(format + "\n", v...)
l.Printf(format+"\n", v...)
}

func (l *StdLogger) Warn(v ...interface{}) {
l.Println(v...)
}

func (l *StdLogger) Warnf(format string, v ...interface{}) {
l.Printf(format + "\n", v...)
l.Printf(format+"\n", v...)
}
4 changes: 2 additions & 2 deletions pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down