Skip to content

Commit 92cbb9b

Browse files
authored
Use any instead of interface{} (#419)
1 parent 0177bdb commit 92cbb9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorial.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Here's a list of all available value types in Tengo.
3232
| bytes | byte array | `[]byte` |
3333
| error | [error](#error-values) value | - |
3434
| time | time value | `time.Time` |
35-
| array | value array _(mutable)_ | `[]interface{}` |
35+
| array | value array _(mutable)_ | `[]any` |
3636
| immutable array | [immutable](#immutable-values) array | - |
37-
| map | value map with string keys _(mutable)_ | `map[string]interface{}` |
37+
| map | value map with string keys _(mutable)_ | `map[string]any` |
3838
| immutable map | [immutable](#immutable-values) map | - |
3939
| undefined | [undefined](#undefined-values) value | - |
4040
| function | [function](#function-values) value | - |

0 commit comments

Comments
 (0)