aboutsummaryrefslogtreecommitdiff
path: root/starlarkstruct
diff options
context:
space:
mode:
Diffstat (limited to 'starlarkstruct')
-rw-r--r--starlarkstruct/struct.go4
-rw-r--r--starlarkstruct/struct_test.go10
2 files changed, 7 insertions, 7 deletions
diff --git a/starlarkstruct/struct.go b/starlarkstruct/struct.go
index 2c2e8f1..96ad5e4 100644
--- a/starlarkstruct/struct.go
+++ b/starlarkstruct/struct.go
@@ -27,8 +27,8 @@ import (
"fmt"
"sort"
- "github.com/google/starlark"
- "github.com/google/starlark/syntax"
+ "go.starlark.net/starlark"
+ "go.starlark.net/syntax"
)
// Make is the implementation of a built-in function that instantiates
diff --git a/starlarkstruct/struct_test.go b/starlarkstruct/struct_test.go
index 6df352b..81936a9 100644
--- a/starlarkstruct/struct_test.go
+++ b/starlarkstruct/struct_test.go
@@ -9,10 +9,10 @@ import (
"path/filepath"
"testing"
- "github.com/google/starlark"
- "github.com/google/starlark/resolve"
- "github.com/google/starlark/starlarkstruct"
- "github.com/google/starlark/starlarktest"
+ "go.starlark.net/starlark"
+ "go.starlark.net/resolve"
+ "go.starlark.net/starlarkstruct"
+ "go.starlark.net/starlarktest"
)
func init() {
@@ -24,7 +24,7 @@ func init() {
}
func Test(t *testing.T) {
- testdata := starlarktest.DataFile("starlark/starlarkstruct", ".")
+ testdata := starlarktest.DataFile("starlarkstruct", ".")
thread := &starlark.Thread{Load: load}
starlarktest.SetReporter(thread, t)
filename := filepath.Join(testdata, "testdata/struct.star")