databricks-cli/libs/template/helpers.go

15 lines
219 B
Go

package template
import (
"errors"
"text/template"
)
var errSkipThisFile = errors.New("skip generating this file")
var HelperFuncs = template.FuncMap{
"skipThisFile": func() error {
panic(errSkipThisFile)
},
}