style: no "this" or "self" as receiver
This commit is contained in:
@@ -6,9 +6,9 @@ import (
|
||||
)
|
||||
|
||||
// Define the correct logger for the program to use.
|
||||
func (this Config) GetLogger() *slog.Logger {
|
||||
func (c Config) GetLogger() *slog.Logger {
|
||||
var level slog.Level
|
||||
if this.Verbose {
|
||||
if c.Verbose {
|
||||
level = slog.LevelInfo
|
||||
} else {
|
||||
level = slog.LevelError
|
||||
|
||||
Reference in New Issue
Block a user