We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72c0aec commit 159b17fCopy full SHA for 159b17f
README.md
@@ -24,7 +24,7 @@ Inspired by
24
## Features
25
26
* Works with any valid Go object (structs, maps, etc)
27
-* Static and dynamic typing
+* Static and dynamic typing ([example](https://godoc.org/github.com/antonmedv/expr#example-Define))
28
```go
29
p, err := expr.Parse("groups[0].Title + user.Age", expr.Define("segments", []Segment{}), expr.Define("user", User{}))
30
// err: invalid operation: groups[0].Name + user.Age (mismatched types string and int)
0 commit comments