You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go get github.com/onsi/gomega/...
github.com/onsi/gomega/matchers/support/goraph/bipartitegraph imports
slices: package slices is not in GOROOT (/Users/xxx/go/go1.18/src/slices)
../../../go/pkg/mod/github.com/onsi/[email protected]/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go:4:2: package slices is not in GOROOT (/Users/xxx/go/go1.18/src/slices)
Hi there! It seems you are using a Go version 1.18 which is unsupported by the current Gomega (and Ginkgo) versions. We follow the same support strategy of the Go toolchain itself, supporting the current stable as well as the previous stable. As there have been several CVEs on older Go versions that are fixed only in more recent versions, we recommend upgrading your Go toolchain. However, on macos there is the danger that newer Go version sometimes drop support for older macos version.
Alternatively, you need to get a much older version of Gomega that was released in the Go 1.18-1.19 time frame.
(As there are many free Linux distributions this tends to not be a problem on Linux where you can most of the time update hardware that has long since declared obsolete by its makers, in contrast to Apple.)
run & got:
go env:
os info:
The text was updated successfully, but these errors were encountered: