Skip to content

Commit c097753

Browse files
committed
Use phrase-go v4
1 parent 4355255 commit c097753

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

clients/cli/cmd/internal/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/phrase/phrase-cli/cmd/internal/prompt"
1313
"github.com/phrase/phrase-cli/cmd/internal/shared"
1414
"github.com/phrase/phrase-cli/cmd/internal/spinner"
15-
"github.com/phrase/phrase-go/v3"
15+
"github.com/phrase/phrase-go/v4"
1616
"gopkg.in/yaml.v2"
1717
)
1818

clients/cli/cmd/internal/pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"github.com/phrase/phrase-cli/cmd/internal/print"
1818

1919
"github.com/antihax/optional"
20-
"github.com/phrase/phrase-go/v3"
20+
"github.com/phrase/phrase-go/v4"
2121
)
2222

2323
const (

clients/cli/cmd/internal/pull_target.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/phrase/phrase-cli/cmd/internal/paths"
1010
"github.com/phrase/phrase-cli/cmd/internal/placeholders"
1111
"github.com/phrase/phrase-cli/cmd/internal/shared"
12-
"github.com/phrase/phrase-go/v3"
12+
"github.com/phrase/phrase-go/v4"
1313
"github.com/spf13/viper"
1414
)
1515

clients/cli/cmd/internal/push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"github.com/phrase/phrase-cli/cmd/internal/print"
1919
"github.com/phrase/phrase-cli/cmd/internal/shared"
2020
"github.com/phrase/phrase-cli/cmd/internal/spinner"
21-
"github.com/phrase/phrase-go/v3"
21+
"github.com/phrase/phrase-go/v4"
2222
)
2323

2424
type PushCommand struct {

clients/cli/cmd/internal/push_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/antihax/optional"
1010
"github.com/phrase/phrase-cli/cmd/internal/paths"
1111
"github.com/phrase/phrase-cli/cmd/internal/placeholders"
12-
"github.com/phrase/phrase-go/v3"
12+
"github.com/phrase/phrase-go/v4"
1313
"github.com/spf13/viper"
1414
)
1515

clients/cli/cmd/internal/shared.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/phrase/phrase-cli/cmd/internal/print"
1414
"github.com/phrase/phrase-cli/cmd/internal/prompt"
1515
"github.com/phrase/phrase-cli/cmd/internal/shared"
16-
"github.com/phrase/phrase-go/v3"
16+
"github.com/phrase/phrase-go/v4"
1717
"github.com/spf13/viper"
1818
"golang.org/x/exp/maps"
1919
)

clients/cli/cmd/internal/upload_cleanup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package internal
22

33
import (
4-
"github.com/phrase/phrase-go/v3"
4+
"github.com/phrase/phrase-go/v4"
55
)
66

77
type UploadCleanupCommand struct {

clients/cli/cmd/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"github.com/phrase/phrase-cli/cmd/internal/print"
1111
"github.com/phrase/phrase-cli/cmd/internal/shared"
1212
"github.com/phrase/phrase-cli/cmd/internal/updatechecker"
13-
"github.com/phrase/phrase-go/v3"
14-
api "github.com/phrase/phrase-go/v3"
13+
"github.com/phrase/phrase-go/v4"
14+
api "github.com/phrase/phrase-go/v4"
1515
"github.com/spf13/cobra"
1616
"github.com/spf13/viper"
1717
)

clients/cli/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/daviddengcn/go-colortext v1.0.0
1010
github.com/jpillora/backoff v1.0.0
1111
github.com/mitchellh/mapstructure v1.4.0
12-
github.com/phrase/phrase-go/v3 v4.0.2 // x-release-please-version
12+
github.com/phrase/phrase-go/v4 v4.0.2 // x-release-please-version
1313
github.com/spf13/cobra v1.0.0
1414
github.com/spf13/viper v1.7.1
1515
gopkg.in/yaml.v2 v2.4.0

clients/cli/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FI
220220
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
221221
github.com/pelletier/go-toml v1.8.1 h1:1Nf83orprkJyknT6h7zbuEGUEjcyVlCxSUGTENmNCRM=
222222
github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc=
223-
github.com/phrase/phrase-go/v3 v3.6.0 h1:0Uea1+Cz3NIdg1KSPhB3A/uQoCWlZAs/B5Eeb1IwAhc=
224-
github.com/phrase/phrase-go/v3 v3.6.0/go.mod h1:s0uOYiXLxKAYlaIS6TbKv3efkKFUlY4OB6OL+VgvK90=
223+
github.com/phrase/phrase-go/v4 v4.0.2 h1:xljCCa67OWBXrRCQqYgYdvVbfgiax0MgdoSey/rSh3M=
224+
github.com/phrase/phrase-go/v4 v4.0.2/go.mod h1:4XplKvrbHS2LDaXfFp9xrVDtO5xk2WHFm0htutwwd8c=
225225
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
226226
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
227227
github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=

0 commit comments

Comments
 (0)