Fix linting errors

This commit is contained in:
Quentin McGaw
2021-02-06 17:16:58 +00:00
parent 7ca9d445f1
commit 43e140e6cc
15 changed files with 31 additions and 16 deletions

View File

@@ -34,7 +34,7 @@ type routing struct {
stateMutex sync.RWMutex
}
// NewConfigurator creates a new Configurator instance.
// NewRouting creates a new routing instance.
func NewRouting(logger logging.Logger) Routing {
return &routing{
logger: logger.WithPrefix("routing: "),
@@ -42,10 +42,10 @@ func NewRouting(logger logging.Logger) Routing {
}
}
func (c *routing) SetVerbose(verbose bool) {
c.verbose = verbose
func (r *routing) SetVerbose(verbose bool) {
r.verbose = verbose
}
func (c *routing) SetDebug() {
c.debug = true
func (r *routing) SetDebug() {
r.debug = true
}