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/funcs.go | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 funcs/funcs.go (limited to 'funcs/funcs.go') 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 -} -- cgit v1.2.3