hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 782dd15858128d8dfe78970c86e543b6590a004c
parent aff9c091669a022b59f493c9dccf72be29511299
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue, 13 Nov 2018 18:28:40 +0100

More spelling corrections

Diffstat:
Mcache/filecache/filecache.go | 2+-
Mcommon/collections/append.go | 2+-
Mcommon/loggers/loggers.go | 2+-
Mparser/metadecoders/decoder.go | 2+-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cache/filecache/filecache.go b/cache/filecache/filecache.go
@@ -69,7 +69,7 @@ var defaultCacheConfigs = map[string]cacheConfig{
 type cachesConfig map[string]cacheConfig
 
 type cacheConfig struct {
-	// Maxe age of ache entries in this cache. Any items older than this will
+	// Max age of cache entries in this cache. Any items older than this will
 	// be removed and not returned from the cache.
 	// -1 means forever, 0 means cache is disabled.
 	MaxAge int
diff --git 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
@@ -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)
 
diff --git a/parser/metadecoders/decoder.go b/parser/metadecoders/decoder.go
@@ -119,7 +119,7 @@ func toFileError(f Format, err error) error {
 
 // stringifyMapKeys recurses into in and changes all instances of
 // map[interface{}]interface{} to map[string]interface{}. This is useful to
-// work around the impedence mismatch between JSON and YAML unmarshaling that's
+// work around the impedance mismatch between JSON and YAML unmarshaling that's
 // described here: https://github.com/go-yaml/yaml/issues/139
 //
 // Inspired by https://github.com/stripe/stripe-mock, MIT licensed