From 92cbb9bff050196dcc1008ecb7f8dd241fc23c64 Mon Sep 17 00:00:00 2001 From: Aman Gupta Karmani Date: Mon, 21 Aug 2023 21:26:27 -0700 Subject: [PATCH] Use any instead of interface{} (#419) --- docs/tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index 92c7a3c..b9e20c1 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -32,9 +32,9 @@ Here's a list of all available value types in Tengo. | bytes | byte array | `[]byte` | | error | [error](#error-values) value | - | | time | time value | `time.Time` | -| array | value array _(mutable)_ | `[]interface{}` | +| array | value array _(mutable)_ | `[]any` | | immutable array | [immutable](#immutable-values) array | - | -| map | value map with string keys _(mutable)_ | `map[string]interface{}` | +| map | value map with string keys _(mutable)_ | `map[string]any` | | immutable map | [immutable](#immutable-values) map | - | | undefined | [undefined](#undefined-values) value | - | | function | [function](#function-values) value | - |