Skip to content

Commit 41cd162

Browse files
committed
Move back to github host
1 parent d7ae4dc commit 41cd162

24 files changed

+58
-58
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# Expr
44
[![Build Status](https://travis-ci.org/antonmedv/expr.svg?branch=master)](https://travis-ci.org/antonmedv/expr)
5-
[![Go Report Card](https://goreportcard.com/badge/gopkg.in/antonmedv/expr.v2)](https://goreportcard.com/report/gopkg.in/antonmedv/expr.v2)
5+
[![Go Report Card](https://goreportcard.com/badge/github.com/antonmedv/expr)](https://goreportcard.com/report/github.com/antonmedv/expr)
66
[![Code Coverage](https://scrutinizer-ci.com/g/antonmedv/expr/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/antonmedv/expr/?branch=master)
7-
[![GoDoc](https://godoc.org/gopkg.in/antonmedv/expr.v2?status.svg)](https://godoc.org/gopkg.in/antonmedv/expr.v2)
7+
[![GoDoc](https://godoc.org/github.com/antonmedv/expr?status.svg)](https://godoc.org/github.com/antonmedv/expr)
88

99
**Expr** package provides an engine that can compile and evaluate expressions.
1010
An expression is a one-liner that returns a value (mostly, but not limited to, booleans).
@@ -28,7 +28,7 @@ product.Stock < 15
2828
## Features
2929

3030
* Seamless integration with Go.
31-
* Static typing ([example](https://godoc.org/gopkg.in/antonmedv/expr.v2#example-Env)).
31+
* Static typing ([example](https://godoc.org/github.com/antonmedv/expr#example-Env)).
3232
```go
3333
out, err := expr.Eval("'hello' + 10")
3434
// err: invalid operation + (mismatched types string and int64)
@@ -46,7 +46,7 @@ product.Stock < 15
4646
## Install
4747

4848
```
49-
go get gopkg.in/antonmedv/expr.v2
49+
go get github.com/antonmedv/expr
5050
```
5151

5252
<a href="https://www.patreon.com/antonmedv">

ast/location.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package ast
22

33
import (
4-
"gopkg.in/antonmedv/expr.v2/internal/file"
4+
"github.com/antonmedv/expr/internal/file"
55
)
66

77
func (n *NilNode) SetLocation(l file.Location) {

ast/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package ast
22

33
import (
4-
"gopkg.in/antonmedv/expr.v2/internal/file"
4+
"github.com/antonmedv/expr/internal/file"
55
"reflect"
66
"regexp"
77
)

ast/visitor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package ast_test
22

33
import (
4+
"github.com/antonmedv/expr/ast"
45
"github.com/stretchr/testify/assert"
5-
"gopkg.in/antonmedv/expr.v2/ast"
66
"testing"
77
)
88

bench_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package expr_test
22

33
import (
4-
"gopkg.in/antonmedv/expr.v2"
5-
"gopkg.in/antonmedv/expr.v2/vm"
4+
"github.com/antonmedv/expr"
5+
"github.com/antonmedv/expr/vm"
66
"testing"
77
)
88

checker/checker.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package checker
22

33
import (
44
"fmt"
5-
"gopkg.in/antonmedv/expr.v2/ast"
6-
"gopkg.in/antonmedv/expr.v2/internal/conf"
7-
"gopkg.in/antonmedv/expr.v2/internal/file"
8-
"gopkg.in/antonmedv/expr.v2/parser"
5+
"github.com/antonmedv/expr/ast"
6+
"github.com/antonmedv/expr/internal/conf"
7+
"github.com/antonmedv/expr/internal/file"
8+
"github.com/antonmedv/expr/parser"
99
"reflect"
1010
)
1111

checker/checker_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package checker_test
22

33
import (
44
"fmt"
5+
"github.com/antonmedv/expr/checker"
6+
"github.com/antonmedv/expr/internal/conf"
7+
"github.com/antonmedv/expr/parser"
58
"github.com/stretchr/testify/assert"
6-
"gopkg.in/antonmedv/expr.v2/checker"
7-
"gopkg.in/antonmedv/expr.v2/internal/conf"
8-
"gopkg.in/antonmedv/expr.v2/parser"
99
"regexp"
1010
"strings"
1111
"testing"

checker/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package checker
22

33
import (
4-
"gopkg.in/antonmedv/expr.v2/ast"
4+
"github.com/antonmedv/expr/ast"
55
"reflect"
66
)
77

cmd/exe/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Install
44

55
```bash
6-
go get gopkg.in/antonmedv/expr.v2/cmd/exe
6+
go get github.com/antonmedv/expr/cmd/exe
77
```
88

99
## Usage

cmd/exe/debugger.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ package main
22

33
import (
44
"fmt"
5+
"github.com/antonmedv/expr/compiler"
6+
"github.com/antonmedv/expr/parser"
7+
. "github.com/antonmedv/expr/vm"
58
"github.com/gdamore/tcell"
69
"github.com/rivo/tview"
7-
"gopkg.in/antonmedv/expr.v2/compiler"
8-
"gopkg.in/antonmedv/expr.v2/parser"
9-
. "gopkg.in/antonmedv/expr.v2/vm"
1010
"sort"
1111
"strconv"
1212
"strings"

0 commit comments

Comments
 (0)