Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: Using go.work with parallel repo #52369

Closed
JordnL opened this issue Apr 15, 2022 · 1 comment
Closed

cmd/go: Using go.work with parallel repo #52369

JordnL opened this issue Apr 15, 2022 · 1 comment

Comments

@JordnL
Copy link

JordnL commented Apr 15, 2022

What version of Go are you using (go version)?

$ go version
go version go1.18.1 darwin/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="amd64"
GOOS="darwin"

What did you do?

  • I am trying to use go.work to reference a parallel repository
  • We have a repository that contains a kubernetes operator and parallel to it, is a repo that defines operator resources (like rbac and crd)
$ tree ./Parent -L 1
Parent
  ├── operator
  └── resources
$ cat operator/go.work
go 1.18

use ../resources

What did you expect to see?

We expected the go test to pass

What did you see instead?

$ go test
directory . outside modules listed in go.work or their selected dependencies

similar to this issue: #49632

@seankhliao
Copy link
Member

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.

For questions please refer to https://github.com/golang/go/wiki/Questions

@golang golang locked and limited conversation to collaborators Apr 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants