diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-08-07 20:19:24 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-08-07 20:19:24 +0200 |
commit | 46ac7453743f0bd889d0be3505bde2521f9f0336 (patch) | |
tree | cdaa5b34a3764d7ab7cb5b2d28efbed928c9b18d /tpl | |
parent | 4b54fb07018d5ed66ef82b6a53462e1b15c85d86 (diff) |
all: Fix spelling
And some other minor issues.
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/internal/templatefuncsRegistry.go | 2 | ||||
-rw-r--r-- | tpl/math/math.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tpl/internal/templatefuncsRegistry.go b/tpl/internal/templatefuncsRegistry.go index 85d8c0b3b..0f11be65c 100644 --- a/tpl/internal/templatefuncsRegistry.go +++ b/tpl/internal/templatefuncsRegistry.go @@ -84,7 +84,7 @@ type TemplateFuncMethodMapping struct { Method interface{} // Any template funcs aliases. This is mainly motivated by keeping - // backwards compability, but some new template funcs may also make + // backwards compatibility, but some new template funcs may also make // sense to give short and snappy aliases. // Note that these aliases are global and will be merged, so the last // key will win. diff --git a/tpl/math/math.go b/tpl/math/math.go index f45488166..5ddc3eb9c 100644 --- a/tpl/math/math.go +++ b/tpl/math/math.go @@ -92,7 +92,7 @@ func (ns *Namespace) Mul(a, b interface{}) (interface{}, error) { return DoArithmetic(a, b, '*') } -// Sub substracts two numbers. +// Sub subtracts two numbers. func (ns *Namespace) Sub(a, b interface{}) (interface{}, error) { return DoArithmetic(a, b, '-') } |