More spelling corrections

This commit is contained in:
Bjørn Erik Pedersen
2018-11-13 18:28:40 +01:00
parent aff9c09166
commit 782dd15858
4 changed files with 4 additions and 4 deletions

View File

@@ -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))

View File

@@ -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)