From a4ee269fbca29340a9fdfd6775575a8965670879 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Fri, 30 Mar 2018 13:13:55 +0200 Subject: [PATCH] typos in godoc --- app/config/config.go | 4 ++-- app/logger/logger.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/config/config.go b/app/config/config.go index ca50c159..8bf55d0a 100644 --- a/app/config/config.go +++ b/app/config/config.go @@ -171,7 +171,7 @@ func (e *wrongLoggingLevelError) Error() string { } // getLoggingLevelFromFileConfig returns a logrus level if a matching was found -// with the one defined by ther user. +// with the one defined by the user. // If no match, throws a wrongLoggingLevelError. func getLoggingLevelFromFileConfig(c *fileConfig) (logrus.Level, error) { l, ok := levels[c.Logs.Level] @@ -198,7 +198,7 @@ func (e *wrongLoggingFormatError) Error() string { } // getLoggingLevelFromFileConfig returns a logrus Formatter if a matching was found -// with the format defined by ther user. +// with the format defined by the user. // If no match, throws a wrongLoggingFormatError. func getLoggingFormatterFromFileConfig(c *fileConfig) (logrus.Formatter, error) { f, ok := formatters[c.Logs.Format] diff --git a/app/logger/logger.go b/app/logger/logger.go index 37a55e41..4cad6c5e 100644 --- a/app/logger/logger.go +++ b/app/logger/logger.go @@ -12,7 +12,7 @@ type logger struct { logger *logrus.Logger } -// log is our logger instance used accross the application. +// log is our logger instance used across the application. var log = newLogger() // newLogger instantiates a logger instance with default values.