diff options
Diffstat (limited to 'funcs/funcs.go')
| -rw-r--r-- | funcs/funcs.go | 15 |
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 -} |
