protoc-gen-go-micro/vendor/github.com/Masterminds/sprig/docs/flow_control.md
Manfred Touron 5448f25fd6
glide up
2017-05-18 23:33:43 +02:00

284 B

Flow Control Functions

fail

Unconditionally returns an empty string and an error with the specified text. This is useful in scenarios where other conditionals have determined that template rendering should fail.

fail "Please accept the end user license agreement"