Skip to content

google-cloud-go: regenerating go.mod/go.sum could break hybrid code #1921

@jskeet

Description

@jskeet

I don't understand much about go.mod and go.sum, but if we generate them during the container "generate" command, and they infer dependencies based on the source code present, then that will neglect any handwritten code which is blended later. We either need to not generate these at all during the generate command, or keep track of dependencies in generator-input.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions