Skip to content

Commit 69d64a1

Browse files
committed
docs: add variable and minor changes
1 parent 741e0ae commit 69d64a1

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

docs/input.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ collection Example {
2121

2222
So, you need to pass the following arguments: `id`, `name`, `age`. This can be done in several ways.
2323

24+
### Variable
25+
26+
```go
27+
var (
28+
id = "1"
29+
name = "example"
30+
age = 146
31+
)
32+
33+
coll.Create(..., args: id, name, status)
34+
```
35+
2436
### Structure
2537

2638
```go
@@ -74,7 +86,7 @@ collection Example {
7486
age number,
7587
alive boolean,
7688
tags string[],
77-
balance: map<string, number>
89+
balance: map<string, number>,
7890
) { ... }
7991
}
8092
```

docs/uk/input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ collection Example {
8787
age number,
8888
alive boolean,
8989
tags string[],
90-
balance: map<string, number>
90+
balance: map<string, number>,
9191
) { ... }
9292
}
9393
```

0 commit comments

Comments
 (0)