From ebb97fb7367fb983cffc1935a8fb57e4b80f5249 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Thu, 25 Jan 2024 20:11:31 -0500 Subject: Move funcs package to internal (#1977) Signed-off-by: Dave Henderson --- funcs/doc.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 funcs/doc.go (limited to 'funcs/doc.go') diff --git a/funcs/doc.go b/funcs/doc.go deleted file mode 100644 index 69a01281..00000000 --- a/funcs/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Package funcs is an internal package that provides gomplate namespaces and -functions to be used in 'text/template' templates. - -The different namespaces can be added individually: - - f := template.FuncMap{} - for k, v := range funcs.CreateMathFuncs(ctx) { - f[k] = v - } - for k, v := range funcs.CreateNetFuncs(ctx) { - f[k] = v - } - -Even though the functions are exported, these are not intended to be called -programmatically by external consumers, but instead only to be used as template -functions. - -Deprecated: This package will be made internal in a future major version. -*/ -package funcs -- cgit v1.2.3