Skip to content

Commit

Permalink
Update Go module refs from gherkin->messages
Browse files Browse the repository at this point in the history
Ref: #1550

NB: Until #1608 has been merged to main, we're using a temporary branch ref in
go.mod. This will need to be removed before this PR is merged.
  • Loading branch information
mattwynne committed Jun 16, 2021
1 parent 2c59f01 commit 6025eb7
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion gherkin/go/astbuilder.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gherkin

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

Expand Down
2 changes: 1 addition & 1 deletion gherkin/go/bench_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gherkin

import (
messages "github.com/cucumber/messages-go/v16"
messages "github.com/cucumber/common/messages/go/v16"
"strings"
"testing"
)
Expand Down
4 changes: 2 additions & 2 deletions gherkin/go/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"encoding/json"
"flag"
"fmt"
"github.com/cucumber/gherkin-go/v19"
"github.com/cucumber/messages-go/v16"
"github.com/cucumber/common/gherkin/go/v19"
"github.com/cucumber/common/messages/go/v16"
"os"
)

Expand Down
2 changes: 1 addition & 1 deletion gherkin/go/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package gherkin

import (
"fmt"
messages "github.com/cucumber/messages-go/v16"
messages "github.com/cucumber/common/messages/go/v16"
"os"
"strings"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"fmt"
"github.com/cucumber/gherkin-go/v19"
"github.com/cucumber/common/gherkin/go/v19"
"io"
"os"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion gherkin/go/gherkin.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gherkin
import (
"bufio"
"fmt"
"github.com/cucumber/messages-go/v16"
"github.com/cucumber/common/messages/go/v16"
"io"
"strings"
)
Expand Down
4 changes: 2 additions & 2 deletions gherkin/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/cucumber/common/gherkin/go/v19

require (
github.com/cucumber/common/messages/v16 v16.0.0
github.com/cucumber/common/messages/go/v16 v16.0.0-20210616143200-16b27f1a25b2
github.com/stretchr/testify v1.7.0
)

replace github.com/cucumber/messages-go/v16 => ../../messages/go
replace github.com/cucumber/common/messages/go/v16 => ../../messages/go

go 1.13
5 changes: 5 additions & 0 deletions gherkin/go/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
github.com/cucumber/common/messages/go/v16 v16.0.0-20210616143200-16b27f1a25b2/go.mod h1:M2BQJNS63rzmxaz/VgU6US/REUbAeROGJ6QdntfY98Y=
github.com/cucumber/gherkin-go v5.1.0+incompatible h1:RCvyVI6KQLI2IJkijZBeJcE4K3U7DnhQ1RjD7VV+AIk=
github.com/cucumber/gherkin-go/v19 v19.0.3 h1:mMSKu1077ffLbTJULUfM5HPokgeBcIGboyeNUof1MdE=
github.com/cucumber/gherkin-go/v19 v19.0.3/go.mod h1:jY/NP6jUtRSArQQJ5h1FXOUgk5fZK24qtE7vKi776Vw=
github.com/cucumber/messages-go v3.0.0+incompatible h1:IIZ+6dRebLcM80cStIDad0Wr6ipgs4zYGMqNH0kp7pY=
github.com/cucumber/messages-go/v16 v16.0.0 h1:3QR8gAu6JYUI8U7gVUMZs/m+C0ZlBcTwf2QKCHMDH88=
github.com/cucumber/messages-go/v16 v16.0.0/go.mod h1:EJcyR5Mm5ZuDsKJnT2N9KRnBK30BGjtYotDKpwQ0v6g=
github.com/cucumber/messages-go/v16 v16.0.1 h1:fvkpwsLgnIm0qugftrw2YwNlio+ABe2Iu94Ap8GMYIY=
Expand Down
2 changes: 1 addition & 1 deletion gherkin/go/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gherkin
import (
"encoding/json"
"fmt"
"github.com/cucumber/messages-go/v16"
"github.com/cucumber/common/messages/go/v16"
"io"
"io/ioutil"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion gherkin/go/messages_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gherkin
import (
"bytes"
"encoding/json"
"github.com/cucumber/messages-go/v16"
"github.com/cucumber/common/messages/go/v16"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion gherkin/go/pickles.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gherkin

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

Expand Down
2 changes: 1 addition & 1 deletion gherkin/go/pickles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gherkin
import (
"encoding/json"
"fmt"
"github.com/cucumber/messages-go/v16"
"github.com/cucumber/common/messages/go/v16"
"os"
"strings"
)
Expand Down

0 comments on commit 6025eb7

Please sign in to comment.