Skip to content

Commit fb7dc49

Browse files
committed
fix: fixing typo on doc
1 parent a0b6526 commit fb7dc49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src_docs/content/doc/filters/js/packages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,5 @@ The return value will be a JS object containing the following fields:
138138

139139
| Prototype | Description |
140140
| --- | --- |
141-
| file.Put(key string, value string, ttl int64) | add the `value` in the cache using the key `key` and it will be deleted after `ttl` seconds |
142-
| file.Get(key string) | get the value stored in the cache with the key `key` |
141+
| cache.Put(key string, value string, ttl int64) | add the `value` in the cache using the key `key` and it will be deleted after `ttl` seconds |
142+
| cache.Get(key string) | get the value stored in the cache with the key `key` |

0 commit comments

Comments
 (0)