Updated doc references to gherkin-go and messages-go

Этот коммит содержится в:
Fredrik Lönnblad 2020-03-14 09:13:14 -03:00
родитель 5cef7b6577
коммит 1c38b5b245
3 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -174,7 +174,7 @@ import (
"fmt" "fmt"
"github.com/cucumber/godog" "github.com/cucumber/godog"
messages "github.com/cucumber/messages-go/v9" messages "github.com/cucumber/messages-go/v10"
) )
func thereAreGodogs(available int) error { func thereAreGodogs(available int) error {

Просмотреть файл

@ -56,7 +56,7 @@ need to store state within steps (a response), we should introduce a structure w
package main package main
import ( import (
"github.com/cucumber/gherkin-go/v9" "github.com/cucumber/gherkin-go/v11"
"github.com/cucumber/godog" "github.com/cucumber/godog"
) )
@ -98,7 +98,7 @@ import (
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
"github.com/cucumber/gherkin-go/v9" "github.com/cucumber/gherkin-go/v11"
"github.com/cucumber/godog" "github.com/cucumber/godog"
) )

Просмотреть файл

@ -27,12 +27,12 @@ If you are running `outside of the $GOPATH`, you should still specify a version.
I you encounter this error, please try adding `GO111MODULE=on`: I you encounter this error, please try adding `GO111MODULE=on`:
``` ```
/go# go get github.com/cucumber/godog/cmd/godog /go# go get github.com/cucumber/godog/cmd/godog
package github.com/cucumber/gherkin-go/v9: cannot find package "github.com/cucumber/gherkin-go/v9" in any of: package github.com/cucumber/gherkin-go/v11: cannot find package "github.com/cucumber/gherkin-go/v11" in any of:
/usr/local/go/src/github.com/cucumber/gherkin-go/v9 (from $GOROOT) /usr/local/go/src/github.com/cucumber/gherkin-go/v11 (from $GOROOT)
/go/src/github.com/cucumber/gherkin-go/v9 (from $GOPATH) /go/src/github.com/cucumber/gherkin-go/v11 (from $GOPATH)
package github.com/cucumber/messages-go/v9: cannot find package "github.com/cucumber/messages-go/v9" in any of: package github.com/cucumber/messages-go/v10: cannot find package "github.com/cucumber/messages-go/v10" in any of:
/usr/local/go/src/github.com/cucumber/messages-go/v9 (from $GOROOT) /usr/local/go/src/github.com/cucumber/messages-go/v10 (from $GOROOT)
/go/src/github.com/cucumber/messages-go/v9 (from $GOPATH) /go/src/github.com/cucumber/messages-go/v10 (from $GOPATH)
``` ```