mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-11 13:51:03 -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 :)
|
||
|
}
|