You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overwriting previous return arguments is possible.
287
+
288
+
#### `funcCall`
289
+
290
+
Calls a global function by its name (without passing any arguments).
291
+
292
+
```
293
+
294
+
funcCall "name"
295
+
296
+
```
297
+
298
+
Returns list of [`return`](#return) outputs in order of index.
299
+
300
+
#### `funcCallArgs`
301
+
302
+
Same as [`funcCall`](#funccall), but arguments can be passed.
303
+
304
+
```
305
+
306
+
funcCallArgs "name" arg1 arg2
307
+
308
+
```
309
+
310
+
Arguments are accessible in function body with `{{{ index .args 0 }}}`.
311
+
212
312
## Contributing
213
313
214
314
Found a bug or just want to change or add something?
@@ -226,3 +326,11 @@ This Project is licensed under the [MIT License](./LICENSE).
226
326
## Legal
227
327
228
328
Logo designed by [@CodeShellDev](https://github.com/codeshelldev) — All Rights Reserved. Go gopher mascot originally created by [Renée French](https://instagram.com/reneefrench/), used under the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license.
0 commit comments