commit | daa4fad9861c0e9a5b6c1587187e98c19c3c5677 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Mon Oct 08 14:08:27 2018 -0700 |
committer | Damien Neil <dneil@google.com> | Tue Oct 16 16:04:35 2018 +0000 |
tree | 3ba316417cc9b9ab49bf2bc8f091b34563170c6a | |
parent | 09f89d024699137fc0d6439944a0d6b04d5b8d58 [diff] |
cmd/protoc-gen-go: remove spurious . from enums with no package Enums, for historical reasons, are registered with the proto package under the name "<proto_package>.<go_type_name>". Don't include the dot if there is no package statement in the .proto source file. Change-Id: I6fb57d0803506668f60123a29fa06ae87fec523b Reviewed-on: https://go-review.googlesource.com/c/140657 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2:
prefix in the title to make it clear that the issue is regarding the new API work.