jmespath / jmespath/go-jmespath

can get the result If the expression is to determine that the Numbers are equal

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.