Skip to content

Commit

Permalink
refactor: migrate dsl pkg (#178)
Browse files Browse the repository at this point in the history
* refactor(dsl): remove `dsl` pkg

Signed-off-by: Dwi Siswanto <[email protected]>

* refactor(teler): use external `dsl` pkg

and update mod for `expr` pkg

Signed-off-by: Dwi Siswanto <[email protected]>

---------

Signed-off-by: Dwi Siswanto <[email protected]>
  • Loading branch information
dwisiswant0 authored Mar 27, 2024
1 parent a3fd178 commit 39853f2
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 455 deletions.
2 changes: 1 addition & 1 deletion condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package teler
import (
"regexp"

"github.com/antonmedv/expr/vm"
"github.com/expr-lang/expr/vm"
"github.com/kitabisa/teler-waf/request"
)

Expand Down
140 changes: 0 additions & 140 deletions dsl/compile.go

This file was deleted.

24 changes: 0 additions & 24 deletions dsl/compile_test.go

This file was deleted.

103 changes: 0 additions & 103 deletions dsl/dsl.go

This file was deleted.

18 changes: 0 additions & 18 deletions dsl/dsl_test.go

This file was deleted.

48 changes: 0 additions & 48 deletions dsl/run.go

This file was deleted.

36 changes: 0 additions & 36 deletions dsl/run_test.go

This file was deleted.

Loading

0 comments on commit 39853f2

Please sign in to comment.