Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sado committed May 9, 2022
1 parent ae1ad93 commit af73319
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ import (
)

func main(){

expr := `foo + 1 > bar`

param := map[string]interface{}{
"foo": 5,
"bar": 6,
}

res, err := Do(context.Background(), expr, param)
if err != nil {
panic(err)
Expand Down
3 changes: 3 additions & 0 deletions kit/rule/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ import (

func main(){

expr := `foo + 1 > bar`

param := map[string]interface{}{
"foo": 5,
"bar": 6,
}

res, err := Do(context.Background(), expr, param)
if err != nil {
panic(err)
Expand Down

0 comments on commit af73319

Please sign in to comment.