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

@imcvampire imcvampire commented Aug 28, 2020

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

@imcvampire imcvampire closed this Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.