Skip to content

Commit c89be6a

Browse files
committed
Use expr-lang/expr
1 parent 5455cf8 commit c89be6a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+177
-176
lines changed

.github/scripts/coverage.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const exclude = [
1111
cd(path.resolve(__dirname, '..', '..'))
1212

1313
await spinner('Running tests', async () => {
14-
await $`go test -coverprofile=coverage.out -coverpkg=github.com/antonmedv/expr/... ./...`
14+
await $`go test -coverprofile=coverage.out -coverpkg=github.com/expr-lang/expr/... ./...`
1515
const coverage = fs.readFileSync('coverage.out').toString()
1616
.split('\n')
1717
.filter(line => {

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Expr
2-
[![test](https://github.com/antonmedv/expr/actions/workflows/test.yml/badge.svg)](https://github.com/antonmedv/expr/actions/workflows/test.yml)
3-
[![Go Report Card](https://goreportcard.com/badge/github.com/antonmedv/expr)](https://goreportcard.com/report/github.com/antonmedv/expr)
2+
[![test](https://github.com/expr-lang/expr/actions/workflows/test.yml/badge.svg)](https://github.com/expr-lang/expr/actions/workflows/test.yml)
3+
[![Go Report Card](https://goreportcard.com/badge/github.com/expr-lang/expr)](https://goreportcard.com/report/github.com/expr-lang/expr)
44
[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/expr.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:expr)
5-
[![GoDoc](https://godoc.org/github.com/antonmedv/expr?status.svg)](https://godoc.org/github.com/antonmedv/expr)
5+
[![GoDoc](https://godoc.org/github.com/expr-lang/expr?status.svg)](https://godoc.org/github.com/expr-lang/expr)
66

77
**Expr** is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy, safety, and speed.
88

@@ -53,7 +53,7 @@ Here are its standout features:
5353
## Install
5454

5555
```
56-
go get github.com/antonmedv/expr
56+
go get github.com/expr-lang/expr
5757
```
5858

5959
## Documentation
@@ -80,7 +80,7 @@ package main
8080

8181
import (
8282
"fmt"
83-
"github.com/antonmedv/expr"
83+
"github.com/expr-lang/expr"
8484
)
8585

8686
func main() {
@@ -113,7 +113,7 @@ package main
113113

114114
import (
115115
"fmt"
116-
"github.com/antonmedv/expr"
116+
"github.com/expr-lang/expr"
117117
)
118118

119119
type Tweet struct {
@@ -165,8 +165,8 @@ func main() {
165165
* [Visually.io](https://visually.io) employs Expr as a business rule engine for its personalization targeting algorithm.
166166
* [Akvorado](https://github.com/akvorado/akvorado) utilizes Expr to classify exporters and interfaces in network flows.
167167

168-
[Add your company too](https://github.com/antonmedv/expr/edit/master/README.md)
168+
[Add your company too](https://github.com/expr-lang/expr/edit/master/README.md)
169169

170170
## License
171171

172-
[MIT](https://github.com/antonmedv/expr/blob/master/LICENSE)
172+
[MIT](https://github.com/expr-lang/expr/blob/master/LICENSE)

ast/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"reflect"
55
"regexp"
66

7-
"github.com/antonmedv/expr/file"
7+
"github.com/expr-lang/expr/file"
88
)
99

1010
// Node represents items of abstract syntax tree.

ast/print.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"fmt"
66
"strings"
77

8-
"github.com/antonmedv/expr/parser/operator"
9-
"github.com/antonmedv/expr/parser/utils"
8+
"github.com/expr-lang/expr/parser/operator"
9+
"github.com/expr-lang/expr/parser/utils"
1010
)
1111

1212
func (n *NilNode) String() string {

ast/print_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"github.com/stretchr/testify/assert"
77
"github.com/stretchr/testify/require"
88

9-
"github.com/antonmedv/expr/ast"
10-
"github.com/antonmedv/expr/parser"
9+
"github.com/expr-lang/expr/ast"
10+
"github.com/expr-lang/expr/parser"
1111
)
1212

1313
func TestPrint(t *testing.T) {

ast/visitor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package ast_test
33
import (
44
"testing"
55

6-
"github.com/antonmedv/expr/ast"
6+
"github.com/expr-lang/expr/ast"
77
"github.com/stretchr/testify/assert"
88
)
99

bench_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package expr_test
33
import (
44
"testing"
55

6-
"github.com/antonmedv/expr"
7-
"github.com/antonmedv/expr/vm"
6+
"github.com/expr-lang/expr"
7+
"github.com/expr-lang/expr/vm"
88
"github.com/stretchr/testify/require"
99
)
1010

builtin/builtin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"strings"
1010
"time"
1111

12-
"github.com/antonmedv/expr/ast"
13-
"github.com/antonmedv/expr/vm/runtime"
12+
"github.com/expr-lang/expr/ast"
13+
"github.com/expr-lang/expr/vm/runtime"
1414
)
1515

1616
var (

builtin/builtin_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import (
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/require"
1212

13-
"github.com/antonmedv/expr"
14-
"github.com/antonmedv/expr/builtin"
15-
"github.com/antonmedv/expr/checker"
16-
"github.com/antonmedv/expr/conf"
17-
"github.com/antonmedv/expr/parser"
18-
"github.com/antonmedv/expr/test/mock"
13+
"github.com/expr-lang/expr"
14+
"github.com/expr-lang/expr/builtin"
15+
"github.com/expr-lang/expr/checker"
16+
"github.com/expr-lang/expr/conf"
17+
"github.com/expr-lang/expr/parser"
18+
"github.com/expr-lang/expr/test/mock"
1919
)
2020

2121
func TestBuiltin(t *testing.T) {
@@ -388,7 +388,7 @@ func TestBuiltin_type(t *testing.T) {
388388
{func() {}, "func"},
389389
{time.Now(), "time.Time"},
390390
{time.Second, "time.Duration"},
391-
{Foo{}, "github.com/antonmedv/expr/builtin_test.Foo"},
391+
{Foo{}, "github.com/expr-lang/expr/builtin_test.Foo"},
392392
{struct{}{}, "struct"},
393393
{a, "int"},
394394
}

builtin/func.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"reflect"
77
"strconv"
88

9-
"github.com/antonmedv/expr/vm/runtime"
9+
"github.com/expr-lang/expr/vm/runtime"
1010
)
1111

1212
func Len(x any) any {

0 commit comments

Comments
 (0)