diff --git a/docs/Custom-Functions.md b/docs/Custom-Functions.md index 133383f77..dd5f3d8d8 100644 --- a/docs/Custom-Functions.md +++ b/docs/Custom-Functions.md @@ -154,7 +154,7 @@ func main() { if i < 0 { return 0, errors.New("value cannot be less than zero") } - return i * 2 + return i * 2, nil }, }