9 lines
177 B
Go
9 lines
177 B
Go
package sprig
|
|
|
|
import "errors"
|
|
|
|
// fail is a function that always returns an error with the given message.
|
|
func fail(msg string) (string, error) {
|
|
return "", errors.New(msg)
|
|
}
|