☰
Debian Codegraph
@
2.27.0-1
2.24.0-1
/
/
util
/
sprig
/
flow_control.go
☽
☼
util/sprig/flow_control.go
code
plain
raw
Apache-2.0
or
GPL-2
2022 Philipp C. Heckel.
debian/copyright
1
package sprig
2
3
import "errors"
4
5
// fail is a function that always returns an error with the given message.
6
func fail(msg string) (string, error) {
7
return "", errors.New(msg)
8
}