databricks-cli/libs/template/helpers.go

15 lines
219 B
Go
Raw Normal View History

2023-05-17 09:53:13 +00:00
package template
2023-05-15 09:25:01 +00:00
import (
"errors"
"text/template"
)
var ErrSkipThisFile = errors.New("skip generating this file")
var HelperFuncs = template.FuncMap{
"skipThisFile": func() error {
panic(ErrSkipThisFile)
},
}