Maint: package local narrow Logger interfaces
This commit is contained in:
10
internal/routing/logger.go
Normal file
10
internal/routing/logger.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package routing
|
||||
|
||||
//go:generate mockgen -destination=logger_mock_test.go -package routing . Logger
|
||||
|
||||
type Logger interface {
|
||||
Debug(s string)
|
||||
Info(s string)
|
||||
Warn(s string)
|
||||
Error(s string)
|
||||
}
|
||||
Reference in New Issue
Block a user