Skip to content

Commit

Permalink
removed to the no dependent extra files
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Dec 21, 2023
1 parent fb7db27 commit 7e7bee9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ type Logger interface {

type defaultLogger struct{}

func (dl *defaultLogger) Info(ctx context.Context, format string, args ...interface{}) {
func (dl *defaultLogger) Info(_ context.Context, format string, args ...interface{}) {
log.Printf(format, args...)
}

func (dl *defaultLogger) Debug(ctx context.Context, format string, args ...interface{}) {
func (dl *defaultLogger) Debug(_ context.Context, format string, args ...interface{}) {
if debug {
log.Printf(format, args...)
}
}

func (dl *defaultLogger) Error(ctx context.Context, format string, args ...interface{}) {
func (dl *defaultLogger) Error(_ context.Context, format string, args ...interface{}) {
log.Printf(format, args...)
}
Binary file removed gofmt
Binary file not shown.
Binary file removed golangci-lint
Binary file not shown.

0 comments on commit 7e7bee9

Please sign in to comment.