summaryrefslogtreecommitdiff
path: root/funcs/funcs.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2024-01-25 20:11:31 -0500
committerGitHub <noreply@github.com>2024-01-25 20:11:31 -0500
commitebb97fb7367fb983cffc1935a8fb57e4b80f5249 (patch)
tree43ef6cd01f629f60f59efe1e5b003f7c8e3a1257 /funcs/funcs.go
parentf1d9158ea99abbe556251c1ff2fe970f3b460ee9 (diff)
Move funcs package to internal (#1977)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'funcs/funcs.go')
-rw-r--r--funcs/funcs.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/funcs/funcs.go b/funcs/funcs.go
deleted file mode 100644
index f5549e61..00000000
--- a/funcs/funcs.go
+++ /dev/null
@@ -1,15 +0,0 @@
-package funcs
-
-import (
- "context"
- "fmt"
-
- "github.com/hairyhenderson/gomplate/v4/internal/config"
-)
-
-func checkExperimental(ctx context.Context) error {
- if !config.ExperimentalEnabled(ctx) {
- return fmt.Errorf("experimental function, but experimental mode not enabled")
- }
- return nil
-}