Skip to content

protoc-gen-go: remove generation of magic import comment #678

@dsnet

Description

@dsnet

This is a reversion of #267.

The Go tooling ecosystem in moving towards modules, where this import comment is being deprecated in favor of a go.mod file. The magic // import "path/to/package" comment may be used to initialize a go.mod file, but the use of go.mod supersedes the magic comment afterwards.

We may remove this now, or wait until module support is even more solidified.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions