diff options
author | Alan Donovan <adonovan@google.com> | 2018-10-31 17:53:09 -0400 |
---|---|---|
committer | Alan Donovan <adonovan@google.com> | 2018-10-31 17:54:40 -0400 |
commit | 6beab7ec164c8629c37f53b70d7b79dcbb9d44ef (patch) | |
tree | a7aa88929348fa8ef5f93480899c91f65da25ec7 /starlarkstruct | |
parent | 6dc378fc8536805efa04a31eec754aca28bce1e9 (diff) | |
download | starlark-go-6beab7ec164c8629c37f53b70d7b79dcbb9d44ef.tar.gz |
rename packages under go.starlark.net
Diffstat (limited to 'starlarkstruct')
-rw-r--r-- | starlarkstruct/struct.go | 4 | ||||
-rw-r--r-- | starlarkstruct/struct_test.go | 10 |
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") |