From 758575e3b6d2c399b5aa96f8c5e1d8e740f212ae Mon Sep 17 00:00:00 2001 From: Matt Wynne Date: Wed, 16 Jun 2021 08:13:43 -0700 Subject: [PATCH] Update Go module refs from json-formatter -> messages Ref #1550 --- json-formatter/go/cmd/main.go | 2 +- json-formatter/go/go.mod | 4 ++-- json-formatter/go/json.go | 2 +- json-formatter/go/message_lookup.go | 2 +- json-formatter/go/message_lookup_test.go | 2 +- json-formatter/go/test_case.go | 2 +- json-formatter/go/test_case_test.go | 2 +- json-formatter/go/test_helpers.go | 2 +- json-formatter/go/test_step.go | 2 +- json-formatter/go/test_step_test.go | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/json-formatter/go/cmd/main.go b/json-formatter/go/cmd/main.go index f4568f2d94..face565c7c 100644 --- a/json-formatter/go/cmd/main.go +++ b/json-formatter/go/cmd/main.go @@ -2,7 +2,7 @@ package main import ( "flag" - jsonFormatter "github.com/cucumber/json-formatter-go/v18" + jsonFormatter "github.com/cucumber/common/json-formatter/go/v18" "log" "os" ) diff --git a/json-formatter/go/go.mod b/json-formatter/go/go.mod index a039730024..5aa1f58ab9 100644 --- a/json-formatter/go/go.mod +++ b/json-formatter/go/go.mod @@ -1,11 +1,11 @@ module github.com/cucumber/common/json-formatter/go/v18 -replace github.com/cucumber/messages-go/v16 => ../../messages/go +replace github.com/cucumber/common/messages/go/v16 => ../../messages/go go 1.13 require ( - github.com/cucumber/messages-go/v16 v16.0.1 + github.com/cucumber/common/messages/go/v16 v16.0.1 github.com/onsi/ginkgo v1.16.4 github.com/onsi/gomega v1.13.0 ) diff --git a/json-formatter/go/json.go b/json-formatter/go/json.go index c5ad35f849..6c08e768e6 100644 --- a/json-formatter/go/json.go +++ b/json-formatter/go/json.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/cucumber/messages-go/v16" + "github.com/cucumber/common/messages/go/v16" ) type Formatter struct { diff --git a/json-formatter/go/message_lookup.go b/json-formatter/go/message_lookup.go index 9ab5ddfcb0..f7baddc196 100644 --- a/json-formatter/go/message_lookup.go +++ b/json-formatter/go/message_lookup.go @@ -3,7 +3,7 @@ package json import ( "fmt" - "github.com/cucumber/messages-go/v16" + "github.com/cucumber/common/messages/go/v16" ) type MessageLookup struct { diff --git a/json-formatter/go/message_lookup_test.go b/json-formatter/go/message_lookup_test.go index 349c458d72..34b13cf1cd 100644 --- a/json-formatter/go/message_lookup_test.go +++ b/json-formatter/go/message_lookup_test.go @@ -1,7 +1,7 @@ package json import ( - "github.com/cucumber/messages-go/v16" + "github.com/cucumber/common/messages/go/v16" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" diff --git a/json-formatter/go/test_case.go b/json-formatter/go/test_case.go index 566f977ff2..84ca9032f3 100644 --- a/json-formatter/go/test_case.go +++ b/json-formatter/go/test_case.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/cucumber/messages-go/v16" + "github.com/cucumber/common/messages/go/v16" ) type TestCase struct { diff --git a/json-formatter/go/test_case_test.go b/json-formatter/go/test_case_test.go index 6758bef01b..5e1d532c81 100644 --- a/json-formatter/go/test_case_test.go +++ b/json-formatter/go/test_case_test.go @@ -1,7 +1,7 @@ package json import ( - "github.com/cucumber/messages-go/v16" + "github.com/cucumber/common/messages/go/v16" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" ) diff --git a/json-formatter/go/test_helpers.go b/json-formatter/go/test_helpers.go index 8e2a97ce38..b34691fb52 100644 --- a/json-formatter/go/test_helpers.go +++ b/json-formatter/go/test_helpers.go @@ -1,7 +1,7 @@ package json import ( - "github.com/cucumber/messages-go/v16" + "github.com/cucumber/common/messages/go/v16" ) func makeScenario(id string, steps []*messages.Step) *messages.Scenario { diff --git a/json-formatter/go/test_step.go b/json-formatter/go/test_step.go index c5b0b933b2..3d8c6032a2 100644 --- a/json-formatter/go/test_step.go +++ b/json-formatter/go/test_step.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "github.com/cucumber/messages-go/v16" + "github.com/cucumber/common/messages/go/v16" ) type TestStep struct { diff --git a/json-formatter/go/test_step_test.go b/json-formatter/go/test_step_test.go index 598433fb8b..adb009dd55 100644 --- a/json-formatter/go/test_step_test.go +++ b/json-formatter/go/test_step_test.go @@ -1,7 +1,7 @@ package json import ( - "github.com/cucumber/messages-go/v16" + "github.com/cucumber/common/messages/go/v16" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" )