summaryrefslogtreecommitdiff
path: root/internal/funcs/math.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2024-01-25 21:13:05 -0500
committerGitHub <noreply@github.com>2024-01-25 21:13:05 -0500
commit562bcd95dfb6fb14af7e0b5829beccff3636d2f1 (patch)
tree6bc5a35dd6c441010a58c9f962e46ee330e58031 /internal/funcs/math.go
parentebb97fb7367fb983cffc1935a8fb57e4b80f5249 (diff)
Remove deprecated functions (#1978)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'internal/funcs/math.go')
-rw-r--r--internal/funcs/math.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/internal/funcs/math.go b/internal/funcs/math.go
index 68316101..3881e057 100644
--- a/internal/funcs/math.go
+++ b/internal/funcs/math.go
@@ -11,22 +11,6 @@ import (
"github.com/hairyhenderson/gomplate/v4/math"
)
-// MathNS - the math namespace
-//
-// Deprecated: don't use
-func MathNS() *MathFuncs {
- return &MathFuncs{}
-}
-
-// AddMathFuncs -
-//
-// Deprecated: use [CreateMathFuncs] instead
-func AddMathFuncs(f map[string]interface{}) {
- for k, v := range CreateMathFuncs(context.Background()) {
- f[k] = v
- }
-}
-
// CreateMathFuncs -
func CreateMathFuncs(ctx context.Context) map[string]interface{} {
f := map[string]interface{}{}