You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
371 B
Go
14 lines
371 B
Go
package util
|
|
|
|
type Logger interface {
|
|
Debug(format string, a ...interface{})
|
|
Info(format string, a ...interface{})
|
|
Warn(format string, a ...interface{})
|
|
}
|
|
|
|
type TestLogger struct{}
|
|
|
|
func (t TestLogger) Debug(format string, a ...interface{}) {}
|
|
func (t TestLogger) Info(format string, a ...interface{}) {}
|
|
func (t TestLogger) Warn(format string, a ...interface{}) {}
|