Skip to content

Commit

Permalink
Update Go module refs from json-formatter -> messages
Browse files Browse the repository at this point in the history
Ref #1550
  • Loading branch information
mattwynne committed Jun 16, 2021
1 parent 4555af3 commit 758575e
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion json-formatter/go/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions json-formatter/go/go.mod
Original file line number Diff line number Diff line change
@@ -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
)
2 changes: 1 addition & 1 deletion json-formatter/go/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io"
"strings"

"github.com/cucumber/messages-go/v16"
"github.com/cucumber/common/messages/go/v16"
)

type Formatter struct {
Expand Down
2 changes: 1 addition & 1 deletion json-formatter/go/message_lookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package json
import (
"fmt"

"github.com/cucumber/messages-go/v16"
"github.com/cucumber/common/messages/go/v16"
)

type MessageLookup struct {
Expand Down
2 changes: 1 addition & 1 deletion json-formatter/go/message_lookup_test.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion json-formatter/go/test_case.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

"github.com/cucumber/messages-go/v16"
"github.com/cucumber/common/messages/go/v16"
)

type TestCase struct {
Expand Down
2 changes: 1 addition & 1 deletion json-formatter/go/test_case_test.go
Original file line number Diff line number Diff line change
@@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion json-formatter/go/test_helpers.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion json-formatter/go/test_step.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"strings"

"github.com/cucumber/messages-go/v16"
"github.com/cucumber/common/messages/go/v16"
)

type TestStep struct {
Expand Down
2 changes: 1 addition & 1 deletion json-formatter/go/test_step_test.go
Original file line number Diff line number Diff line change
@@ -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"
)
Expand Down

0 comments on commit 758575e

Please sign in to comment.