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/gomod: Do not clean package that need for go generate #41086

Closed
imcvampire opened this issue Aug 28, 2020 · 0 comments
Closed

cmd/gomod: Do not clean package that need for go generate #41086

imcvampire opened this issue Aug 28, 2020 · 0 comments

Comments

@imcvampire
Copy link

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

$ go version
1.15

Does this issue reproduce with the latest release?

Yes

What did you do?

go mod tidy

go.mod:

module example.com/imcvampire

go 1.15

require (
        ...other packages...
	github.com/dmarkham/enumer v1.5.1
)

What did you expect to see?

go.mod:

module example.com/imcvampire

go 1.15

require (
        ...other packages...
	github.com/dmarkham/enumer v1.5.1
)

enumer isn't removed

What did you see instead?

go.mod:

module example.com/imcvampire

go 1.15

require (
        ...other packages...
)

enumer is removed

@golang golang locked and limited conversation to collaborators Aug 28, 2021
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

2 participants