Skip to content

Commit

Permalink
Point go module paths to monorepo (#1616)
Browse files Browse the repository at this point in the history
* Point go module paths to monorepo

Ref #1550

Co-authored-by: Aurelien Reeves <aurelien.reeves@smartbear.com>

* Fix Go module self-references

Co-authored-by: Aurelien Reeves <aurelien.reeves@smartbear.com>
  • Loading branch information
mattwynne and aurelien-reeves committed Jun 16, 2021
1 parent 4b8682e commit 4ecd6cf
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 10 deletions.
3 changes: 3 additions & 0 deletions cucumber-expressions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Changed

* [Go] Move module paths to point to monorepo
([#1550](https://github.com/cucumber/common/issues/1550))

### Deprecated

### Removed
Expand Down
2 changes: 1 addition & 1 deletion cucumber-expressions/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cucumber/cucumber-expressions-go/v12
module github.com/cucumber/common/cucumber-expressions/go/v12

require (
github.com/davecgh/go-spew v1.1.1 // indirect
Expand Down
2 changes: 1 addition & 1 deletion demo-formatter/go/cmd/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
formatter "github.com/cucumber/demo-formatter-go"
formatter "github.com/cucumber/common/demo-formatter/go"
"os"
)

Expand Down
2 changes: 1 addition & 1 deletion demo-formatter/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cucumber/demo-formatter-go
module github.com/cucumber/common/demo-formatter/go

require (
github.com/cucumber/messages-go/v16 v16.0.1
Expand Down
3 changes: 3 additions & 0 deletions gherkin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt

### Changed

* [Go] Move module paths to point to monorepo
([#1550](https://github.com/cucumber/common/issues/1550))

### Deprecated

### Removed
Expand Down
2 changes: 1 addition & 1 deletion gherkin/go/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"encoding/json"
"flag"
"fmt"
"github.com/cucumber/gherkin-go/v19"
"github.com/cucumber/common/gherkin/go/v19"
"github.com/cucumber/messages-go/v16"
"os"
)
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/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cucumber/gherkin-go/v19
module github.com/cucumber/common/gherkin/go/v19

require (
github.com/cucumber/messages-go/v16 v16.0.1
Expand Down
3 changes: 3 additions & 0 deletions json-formatter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt

### Changed

* [Go] Move module paths to point to monorepo
([#1550](https://github.com/cucumber/common/issues/1550))

### Deprecated

### Removed
Expand Down
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
2 changes: 1 addition & 1 deletion json-formatter/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cucumber/json-formatter-go/v18
module github.com/cucumber/common/json-formatter/go/v18

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

Expand Down
3 changes: 3 additions & 0 deletions messages/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Changed

* [Go] Move module paths to point to monorepo
([#1550](https://github.com/cucumber/common/issues/1550))

### Deprecated

### Removed
Expand Down
2 changes: 1 addition & 1 deletion messages/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cucumber/messages-go/v16
module github.com/cucumber/common/messages/go/v16

require (
github.com/gofrs/uuid v4.0.0+incompatible
Expand Down
3 changes: 3 additions & 0 deletions tag-expressions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Changed

* [Go] Move module paths to point to monorepo
([#1550](https://github.com/cucumber/common/issues/1550))

### Deprecated

### Removed
Expand Down
2 changes: 1 addition & 1 deletion tag-expressions/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cucumber/cucumber/tag-expressions-go/v3
module github.com/cucumber/common/cucumber/tag-expressions/go/v3

require (
github.com/davecgh/go-spew v1.1.1 // indirect
Expand Down

0 comments on commit 4ecd6cf

Please sign in to comment.