mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-18 13:00:24 -04:00
12 lines
190 B
Go
12 lines
190 B
Go
package proxy
|
|
|
|
type logger interface {
|
|
Printf(format string, args ...interface{})
|
|
}
|
|
|
|
type noopLogger struct{}
|
|
|
|
func (l *noopLogger) Printf(_ string, _ ...interface{}) {
|
|
// Do nothing :)
|
|
}
|