Skip to content

Commit

Permalink
fix: readme typos (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
uncledu authored Dec 3, 2024
1 parent 9267f9f commit 2b7839b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README_ZH_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@ sub := root.Get("key3").Index(2).Int64() // == 3

`ast.Searcher`提供了一些选项,以满足用户的不同需求:

```
opts:= ast.SearchOption{CopyReturn: true…}
Val, err:= sonic。gettwithoptions (JSON, opts "key")
```go
opts := ast.SearchOption{CopyReturn: true…}
val, err := sonic.GetWithOptions(JSON, opts, "key")
```

- CopyReturn
Expand Down

0 comments on commit 2b7839b

Please sign in to comment.