Skip to content

Commit fd4733d

Browse files
committed
fixed *64 math function descriptions
1 parent 9829c26 commit fd4733d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/functions/functionsDescription.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ var funcDesc = map[string]FunctionDescription{
6969
Localizable: false,
7070
Description: "adds two numbers",
7171
Return: "int64",
72-
Example: "jr template run --embedded '{{add 1 2}}'",
72+
Example: "jr template run --embedded '{{add64 1 2}}'",
7373
Output: "3",
7474
},
7575
"add_v_to_list": {
@@ -379,7 +379,7 @@ var funcDesc = map[string]FunctionDescription{
379379
Parameters: "first int64, second int64",
380380
Localizable: false,
381381
Return: "int64",
382-
Example: "jr template run --embedded '{{div 10 2}}'",
382+
Example: "jr template run --embedded '{{div64 10 2}}'",
383383
Output: "5",
384384
},
385385
"email": {
@@ -901,7 +901,7 @@ var funcDesc = map[string]FunctionDescription{
901901
Parameters: "first int64, second int64",
902902
Localizable: false,
903903
Return: "int64",
904-
Example: "jr template run --embedded '{{mod 10 2}}'",
904+
Example: "jr template run --embedded '{{mod64 10 2}}'",
905905
Output: "0",
906906
},
907907
"mul": {
@@ -921,7 +921,7 @@ var funcDesc = map[string]FunctionDescription{
921921
Parameters: "first int64, second int64",
922922
Localizable: false,
923923
Return: "int64",
924-
Example: "jr template run --embedded '{{mul 10 2}}'",
924+
Example: "jr template run --embedded '{{mul64 10 2}}'",
925925
Output: "20",
926926
},
927927
"name": {
@@ -1321,7 +1321,7 @@ var funcDesc = map[string]FunctionDescription{
13211321
Parameters: "first int64, second int64",
13221322
Localizable: false,
13231323
Return: "int64",
1324-
Example: "jr template run --embedded '{{sub 1 2}}'",
1324+
Example: "jr template run --embedded '{{sub64 1 2}}'",
13251325
Output: "-1",
13261326
},
13271327
"surname": {

0 commit comments

Comments
 (0)