From a16ddc77c8f2c019d5cd0e1cf03b9d83d3611ba3 Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Wed, 18 Sep 2024 16:15:15 -0700 Subject: [PATCH] update imports --- flixkit/flix_service.go | 2 +- internal/fcl_binding_creator.go | 6 +++--- internal/fcl_binding_creator_test.go | 6 +++--- internal/flix_service.go | 4 ++-- internal/flix_service_test.go | 4 ++-- internal/v1/types.go | 2 +- internal/v1_1/generator.go | 2 +- internal/v1_1/generator_test.go | 2 +- internal/v1_1/types.go | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/flixkit/flix_service.go b/flixkit/flix_service.go index 4d89f2e..2bfe9c1 100644 --- a/flixkit/flix_service.go +++ b/flixkit/flix_service.go @@ -3,7 +3,7 @@ package flixkit import ( "context" - "github.com/onflow/flixkit-go/internal" + "github.com/onflow/flixkit-go/v2/internal" "github.com/onflow/flowkit/v2/config" ) diff --git a/internal/fcl_binding_creator.go b/internal/fcl_binding_creator.go index 115980e..9f92ffb 100644 --- a/internal/fcl_binding_creator.go +++ b/internal/fcl_binding_creator.go @@ -6,9 +6,9 @@ import ( "sort" "text/template" - "github.com/onflow/flixkit-go/internal/templates" - v1 "github.com/onflow/flixkit-go/internal/v1" - v1_1 "github.com/onflow/flixkit-go/internal/v1_1" + "github.com/onflow/flixkit-go/v2/internal/templates" + v1 "github.com/onflow/flixkit-go/v2/internal/v1" + v1_1 "github.com/onflow/flixkit-go/v2/internal/v1_1" "github.com/stoewer/go-strcase" ) diff --git a/internal/fcl_binding_creator_test.go b/internal/fcl_binding_creator_test.go index eedaa01..bcf8163 100644 --- a/internal/fcl_binding_creator_test.go +++ b/internal/fcl_binding_creator_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/onflow/flixkit-go/internal/templates" - v1 "github.com/onflow/flixkit-go/internal/v1" - v1_1 "github.com/onflow/flixkit-go/internal/v1_1" + "github.com/onflow/flixkit-go/v2/internal/templates" + v1 "github.com/onflow/flixkit-go/v2/internal/v1" + v1_1 "github.com/onflow/flixkit-go/v2/internal/v1_1" ) var parsedTemplateTX = &v1.FlowInteractionTemplate{ diff --git a/internal/flix_service.go b/internal/flix_service.go index 77499a1..f9aee77 100644 --- a/internal/flix_service.go +++ b/internal/flix_service.go @@ -11,8 +11,8 @@ import ( "github.com/onflow/flowkit/v2/config" "github.com/onflow/flowkit/v2/output" - v1 "github.com/onflow/flixkit-go/internal/v1" - v1_1 "github.com/onflow/flixkit-go/internal/v1_1" + v1 "github.com/onflow/flixkit-go/v2/internal/v1" + v1_1 "github.com/onflow/flixkit-go/v2/internal/v1_1" ) type FileReader interface { diff --git a/internal/flix_service_test.go b/internal/flix_service_test.go index 5ee7966..9dd4e49 100644 --- a/internal/flix_service_test.go +++ b/internal/flix_service_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" - v1 "github.com/onflow/flixkit-go/internal/v1" - "github.com/onflow/flixkit-go/internal/v1_1" + v1 "github.com/onflow/flixkit-go/v2/internal/v1" + "github.com/onflow/flixkit-go/v2/internal/v1_1" ) var flix_template = `{ diff --git a/internal/v1/types.go b/internal/v1/types.go index f096cb2..2045f31 100644 --- a/internal/v1/types.go +++ b/internal/v1/types.go @@ -5,7 +5,7 @@ import ( "fmt" "regexp" - "github.com/onflow/flixkit-go/internal/contracts" + "github.com/onflow/flixkit-go/v2/internal/contracts" ) type Network struct { diff --git a/internal/v1_1/generator.go b/internal/v1_1/generator.go index ec22600..d423d47 100644 --- a/internal/v1_1/generator.go +++ b/internal/v1_1/generator.go @@ -17,7 +17,7 @@ import ( "github.com/onflow/flowkit/v2/output" "github.com/spf13/afero" - "github.com/onflow/flixkit-go/internal/contracts" + "github.com/onflow/flixkit-go/v2/internal/contracts" ) /* diff --git a/internal/v1_1/generator_test.go b/internal/v1_1/generator_test.go index e834412..95c9c71 100644 --- a/internal/v1_1/generator_test.go +++ b/internal/v1_1/generator_test.go @@ -9,7 +9,7 @@ import ( "github.com/onflow/flowkit/v2/config" "github.com/stretchr/testify/assert" - "github.com/onflow/flixkit-go/internal/contracts" + "github.com/onflow/flixkit-go/v2/internal/contracts" ) func TestHelloScript(t *testing.T) { diff --git a/internal/v1_1/types.go b/internal/v1_1/types.go index 90863e6..2d17c52 100644 --- a/internal/v1_1/types.go +++ b/internal/v1_1/types.go @@ -12,7 +12,7 @@ import ( "github.com/ethereum/go-ethereum/rlp" "github.com/onflow/cadence/runtime/ast" - "github.com/onflow/flixkit-go/internal/contracts" + "github.com/onflow/flixkit-go/v2/internal/contracts" "golang.org/x/crypto/sha3" )