-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
protoc-gen-go: revert some API changes (#577)
Introducing the GoImportPath and GoPackageName types to distingish between these values changed the exported API of the generator package in a few small ways. While the API of this package comes with no stability guarantee, the benefit to the exported part of the change is small. Revert the exported changes to avoid gratuitous breakage. Specific changes: Generator.ImportPrefix reverts to type string Generator.ImportMap reverts to type map[string]string (There are other externally-visible changes to the package API which are worth making and will not be reverted, most notably the removal of the PackageName method from FileDescriptor.)
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters