From ebad9f2372d92d557d09d47fcfa725e92e7b3e5b Mon Sep 17 00:00:00 2001 From: otrava7 Date: Fri, 23 Dec 2022 18:12:58 +0200 Subject: [PATCH] fix(go): change module name to match repo --- go/gherkin-generate-tokens/gherkin-generate-tokens.go | 2 +- go/go.mod | 2 +- go/go.sum | 2 -- go/main/main.go | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/go/gherkin-generate-tokens/gherkin-generate-tokens.go b/go/gherkin-generate-tokens/gherkin-generate-tokens.go index 94f23d3be..6a21040d9 100644 --- a/go/gherkin-generate-tokens/gherkin-generate-tokens.go +++ b/go/gherkin-generate-tokens/gherkin-generate-tokens.go @@ -2,7 +2,7 @@ package main import ( "fmt" - gherkin "github.com/cucumber/gherkin/v26" + gherkin "github.com/cucumber/gherkin/go/v26" "io" "os" "strings" diff --git a/go/go.mod b/go/go.mod index 7706b8cc1..c43e5fec7 100644 --- a/go/go.mod +++ b/go/go.mod @@ -1,4 +1,4 @@ -module github.com/cucumber/gherkin/v26 +module github.com/cucumber/gherkin/go/v26 require ( github.com/cucumber/messages/go/v21 v21.0.1 diff --git a/go/go.sum b/go/go.sum index 8e654bd10..a6098aade 100644 --- a/go/go.sum +++ b/go/go.sum @@ -11,8 +11,6 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.4/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= diff --git a/go/main/main.go b/go/main/main.go index b838e2c7b..a6900407c 100644 --- a/go/main/main.go +++ b/go/main/main.go @@ -9,7 +9,7 @@ import ( "encoding/json" "flag" "fmt" - gherkin "github.com/cucumber/gherkin/v26" + gherkin "github.com/cucumber/gherkin/go/v26" "github.com/cucumber/messages/go/v21" "os" )