protobuf-go/cmd/protoc-gen-go/internal_gengo
Joe Tsai 42cc4c592f reflect/protoreflect: improve source information usability
Added API:
  SourceLocations.ByPath
  SourceLocations.ByDescriptor
  SourceLocation.Next
  SourcePath.String
  SourcePath.Equal

We modify compiler/protogen to use SourceLocations.ByDescriptor.
In retrospect, if this had existed during the development of protogen,
we would not have exposed protogen.Location and related fields.

Change-Id: I58f17e59f90b9ba16f0982c4b71c2542e4ff6e75
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/238000
Reviewed-by: Damien Neil <dneil@google.com>
2020-07-23 21:50:46 +00:00
..
init.go encoding/protowire: make package publicly available 2020-03-20 07:42:18 +00:00
main.go reflect/protoreflect: improve source information usability 2020-07-23 21:50:46 +00:00
reflect.go all: implement support for proto3 optional semantics 2020-04-29 20:02:24 +00:00
well_known_types.go cmd/protoc-gen-go: generate package documentation for well-known types 2020-06-22 19:32:21 +00:00