Skip to content

Commit

Permalink
update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Sep 18, 2024
1 parent 267640e commit a16ddc7
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion flixkit/flix_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/fcl_binding_creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/fcl_binding_creator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
4 changes: 2 additions & 2 deletions internal/flix_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions internal/flix_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 = `{
Expand Down
2 changes: 1 addition & 1 deletion internal/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/v1_1/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion internal/v1_1/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion internal/v1_1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit a16ddc7

Please sign in to comment.