Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-11-13 20:28:40 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-11-13 20:28:40 +0300
commit782dd15858128d8dfe78970c86e543b6590a004c (patch)
tree63a48b40e989146c507760b9b6f80ae699770105 /common
parentaff9c091669a022b59f493c9dccf72be29511299 (diff)
More spelling corrections
Diffstat (limited to 'common')
-rw-r--r--common/collections/append.go2
-rw-r--r--common/loggers/loggers.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/collections/append.go b/common/collections/append.go
index 617d6258a..b9a9419cb 100644
--- a/common/collections/append.go
+++ b/common/collections/append.go
@@ -19,7 +19,7 @@ import (
)
// Append appends from to a slice to and returns the resulting slice.
-// If lenght of from is one and the only element is a slice of same type as to,
+// If length of from is one and the only element is a slice of same type as to,
// it will be appended.
func Append(to interface{}, from ...interface{}) (interface{}, error) {
tov, toIsNil := indirect(reflect.ValueOf(to))
diff --git a/common/loggers/loggers.go b/common/loggers/loggers.go
index 9d0f4f629..e711de468 100644
--- a/common/loggers/loggers.go
+++ b/common/loggers/loggers.go
@@ -115,7 +115,7 @@ func (a labelColorizer) Write(p []byte) (n int, err error) {
}
-// InitGlobalLogger initalizes the global logger, used in some rare cases.
+// InitGlobalLogger initializes the global logger, used in some rare cases.
func InitGlobalLogger(stdoutThreshold, logThreshold jww.Threshold, outHandle, logHandle io.Writer) {
outHandle, logHandle = getLogWriters(outHandle, logHandle)