jmespath / jmespath/go-jmespath
can get the result If the expression is to determine that the Numbers are equal
Open
- Dominant language
- Go
- Stars
- 621
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
```golang
func Test(t *testing.T) {
user := struct {
ID int
Name string
}{
ID:1,
Name:"a",
}
users := []interface{}{user}
res, _ := jmespath.Search("[?ID=='1']", users)
fmt.Println(res)
}
```
=== RUN Test
[]
--- PASS: Test (0.00s)
PASS
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.