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{}) {}