aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/json/main.go3
-rw-r--r--example/math_expression/main.go2
-rw-r--r--example/math_expression/rpn.go2
-rw-r--r--example/math_expression/stack.go2
4 files changed, 5 insertions, 4 deletions
diff --git a/example/json/main.go b/example/json/main.go
index 745e5aa..c600cda 100644
--- a/example/json/main.go
+++ b/example/json/main.go
@@ -1,3 +1,4 @@
+//go:build ignore
// +build ignore
package main
@@ -5,7 +6,7 @@ package main
import (
"fmt"
- "github.com/neonxp/unilex"
+ "go.neonxp.ru/unilex"
)
func main() {
diff --git a/example/math_expression/main.go b/example/math_expression/main.go
index 805028e..5cabaa6 100644
--- a/example/math_expression/main.go
+++ b/example/math_expression/main.go
@@ -3,7 +3,7 @@ package main
import (
"fmt"
- "github.com/neonxp/unilex"
+ "go.neonxp.ru/unilex"
)
const (
diff --git a/example/math_expression/rpn.go b/example/math_expression/rpn.go
index a4cacc0..65d9bf8 100644
--- a/example/math_expression/rpn.go
+++ b/example/math_expression/rpn.go
@@ -7,7 +7,7 @@ import (
"log"
"strconv"
- "github.com/neonxp/unilex"
+ "go.neonxp.ru/unilex"
)
var opPriority = map[string]int{
diff --git a/example/math_expression/stack.go b/example/math_expression/stack.go
index 5244f7c..d690f4e 100644
--- a/example/math_expression/stack.go
+++ b/example/math_expression/stack.go
@@ -2,7 +2,7 @@ package main
// Simple lexem stack implementation.
-import "github.com/neonxp/unilex"
+import "go.neonxp.ru/unilex"
type lexemStack []unilex.Lexem