From 562bcd95dfb6fb14af7e0b5829beccff3636d2f1 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Thu, 25 Jan 2024 21:13:05 -0500 Subject: Remove deprecated functions (#1978) Signed-off-by: Dave Henderson --- internal/funcs/math.go | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'internal/funcs/math.go') 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{}{} -- cgit v1.2.3