From fef148f6c0df8714f2658f8d3a2eab0918981c98 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Wed, 17 Feb 2021 13:13:39 -0800 Subject: [PATCH] rename go package dagger.io/go Signed-off-by: Andrea Luzzardi --- cmd/dagger/cmd/compute.go | 4 ++-- cmd/dagger/cmd/root.go | 2 +- cmd/dagger/main.go | 2 +- dagger/build.go | 4 ++-- dagger/client.go | 2 +- dagger/dagger_test.go | 2 +- dagger/env.go | 2 +- dagger/fs.go | 2 +- dagger/input.go | 2 +- dagger/pipeline.go | 2 +- go.mod | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cmd/dagger/cmd/compute.go b/cmd/dagger/cmd/compute.go index 3c22b583..a60b40a4 100644 --- a/cmd/dagger/cmd/compute.go +++ b/cmd/dagger/cmd/compute.go @@ -3,8 +3,8 @@ package cmd import ( "fmt" - "dagger.cloud/go/cmd/dagger/logger" - "dagger.cloud/go/dagger" + "dagger.io/go/cmd/dagger/logger" + "dagger.io/go/dagger" "github.com/moby/buildkit/util/appcontext" diff --git a/cmd/dagger/cmd/root.go b/cmd/dagger/cmd/root.go index 7b75a7a2..7d2b0e68 100644 --- a/cmd/dagger/cmd/root.go +++ b/cmd/dagger/cmd/root.go @@ -3,7 +3,7 @@ package cmd import ( "strings" - "dagger.cloud/go/cmd/dagger/logger" + "dagger.io/go/cmd/dagger/logger" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/dagger/main.go b/cmd/dagger/main.go index d76dc523..71a7cdaa 100644 --- a/cmd/dagger/main.go +++ b/cmd/dagger/main.go @@ -1,7 +1,7 @@ package main import ( - "dagger.cloud/go/cmd/dagger/cmd" + "dagger.io/go/cmd/dagger/cmd" ) func main() { diff --git a/dagger/build.go b/dagger/build.go index 45fb3c79..497dcaf5 100644 --- a/dagger/build.go +++ b/dagger/build.go @@ -11,8 +11,8 @@ import ( cueload "cuelang.org/go/cue/load" "github.com/rs/zerolog/log" - "dagger.cloud/go/dagger/compiler" - "dagger.cloud/go/stdlib" + "dagger.io/go/dagger/compiler" + "dagger.io/go/stdlib" ) // Build a cue configuration tree from the files in fs. diff --git a/dagger/client.go b/dagger/client.go index c68ad0d2..5aee8e1a 100644 --- a/dagger/client.go +++ b/dagger/client.go @@ -24,7 +24,7 @@ import ( "github.com/containerd/console" "github.com/moby/buildkit/util/progress/progressui" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) const ( diff --git a/dagger/dagger_test.go b/dagger/dagger_test.go index 4725098e..3e6f6dc7 100644 --- a/dagger/dagger_test.go +++ b/dagger/dagger_test.go @@ -3,7 +3,7 @@ package dagger import ( "testing" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) func TestLocalDirs(t *testing.T) { diff --git a/dagger/env.go b/dagger/env.go index ba7aec7d..ecb89082 100644 --- a/dagger/env.go +++ b/dagger/env.go @@ -8,7 +8,7 @@ import ( cueflow "cuelang.org/go/tools/flow" "github.com/rs/zerolog/log" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) type Env struct { diff --git a/dagger/fs.go b/dagger/fs.go index 32f625f8..4205365e 100644 --- a/dagger/fs.go +++ b/dagger/fs.go @@ -11,7 +11,7 @@ import ( bkgw "github.com/moby/buildkit/frontend/gateway/client" fstypes "github.com/tonistiigi/fsutil/types" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) type Stat struct { diff --git a/dagger/input.go b/dagger/input.go index 92020dbe..daf59d50 100644 --- a/dagger/input.go +++ b/dagger/input.go @@ -9,7 +9,7 @@ import ( "cuelang.org/go/cue" "github.com/spf13/pflag" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) // A mutable cue value with an API suitable for user inputs, diff --git a/dagger/pipeline.go b/dagger/pipeline.go index f7eb044e..eda5740b 100644 --- a/dagger/pipeline.go +++ b/dagger/pipeline.go @@ -9,7 +9,7 @@ import ( "github.com/rs/zerolog/log" "gopkg.in/yaml.v3" - "dagger.cloud/go/dagger/compiler" + "dagger.io/go/dagger/compiler" ) // An execution pipeline diff --git a/go.mod b/go.mod index 19609379..58c693d7 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module dagger.cloud/go +module dagger.io/go go 1.16