refactor: naming (#1)

This commit was merged in pull request #1.
This commit is contained in:
Levente Nas
2024-09-25 09:42:06 +02:00
committed by GitHub
parent 23a8a9ee04
commit c4b6077e3a
11 changed files with 122 additions and 122 deletions

View File

@@ -6,14 +6,14 @@ import (
)
// A logger without logging functionality
type NullLoggerimpl struct{}
type NullLoggerImpl struct{}
// A logger that logs to sdtout
type ConsoleLoggerimpl struct {
type ConsoleLoggerImpl struct {
messages chan string
}
type FileLoggerimpl struct {
type FileLoggerImpl struct {
messages chan string
mutex *sync.Mutex
logFile *os.File