Skip to content

Commit

Permalink
Update analytics-go import path
Browse files Browse the repository at this point in the history
analytics-go has changed their
import path from "gopkg.in/segmentio/analytics-go.v3" to
"github.com/segmentio/analytics-go/v3", so we must update accordingly.
  • Loading branch information
mckern committed May 4, 2023
1 parent f2d466c commit 9dc6c7b
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"github.com/segmentio/chamber/v2/store"
"github.com/segmentio/chamber/v2/utils"
"github.com/spf13/cobra"
analytics "gopkg.in/segmentio/analytics-go.v3"
analytics "github.com/segmentio/analytics-go/v3"
)

// deleteCmd represents the delete command
Expand Down
2 changes: 1 addition & 1 deletion cmd/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/pkg/errors"
"github.com/segmentio/chamber/v2/utils"
"github.com/spf13/cobra"
analytics "gopkg.in/segmentio/analytics-go.v3"
analytics "github.com/segmentio/analytics-go/v3"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/pkg/errors"
"github.com/segmentio/chamber/v2/environ"
"github.com/spf13/cobra"
analytics "gopkg.in/segmentio/analytics-go.v3"
analytics "github.com/segmentio/analytics-go/v3"
)

// When true, only use variables retrieved from the backend, do not inherit existing environment variables
Expand Down
2 changes: 1 addition & 1 deletion cmd/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/pkg/errors"
"github.com/segmentio/chamber/v2/utils"
"github.com/spf13/cobra"
analytics "gopkg.in/segmentio/analytics-go.v3"
analytics "github.com/segmentio/analytics-go/v3"
"gopkg.in/yaml.v3"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/segmentio/chamber/v2/store"
"github.com/segmentio/chamber/v2/utils"
"github.com/spf13/cobra"
analytics "gopkg.in/segmentio/analytics-go.v3"
analytics "github.com/segmentio/analytics-go/v3"
)

// historyCmd represents the history command
Expand Down
2 changes: 1 addition & 1 deletion cmd/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/segmentio/chamber/v2/store"
"github.com/segmentio/chamber/v2/utils"
"github.com/spf13/cobra"
analytics "gopkg.in/segmentio/analytics-go.v3"
analytics "github.com/segmentio/analytics-go/v3"
"gopkg.in/yaml.v3"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/segmentio/chamber/v2/store"
"github.com/segmentio/chamber/v2/utils"
"github.com/spf13/cobra"
analytics "gopkg.in/segmentio/analytics-go.v3"
analytics "github.com/segmentio/analytics-go/v3"
)

// listCmd represents the list command
Expand Down
2 changes: 1 addition & 1 deletion cmd/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/segmentio/chamber/v2/store"
"github.com/segmentio/chamber/v2/utils"
"github.com/spf13/cobra"
analytics "gopkg.in/segmentio/analytics-go.v3"
analytics "github.com/segmentio/analytics-go/v3"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/pkg/errors"
"github.com/segmentio/chamber/v2/store"
"github.com/spf13/cobra"
analytics "gopkg.in/segmentio/analytics-go.v3"
analytics "github.com/segmentio/analytics-go/v3"
)

// Regex's used to validate service and key names
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"github.com/spf13/cobra"
analytics "gopkg.in/segmentio/analytics-go.v3"
analytics "github.com/segmentio/analytics-go/v3"
)

// versionCmd represents the version command
Expand Down
2 changes: 1 addition & 1 deletion cmd/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/segmentio/chamber/v2/store"
"github.com/segmentio/chamber/v2/utils"
"github.com/spf13/cobra"
analytics "gopkg.in/segmentio/analytics-go.v3"
analytics "github.com/segmentio/analytics-go/v3"
)

var (
Expand Down

0 comments on commit 9dc6c7b

Please sign in to comment.