protobuf-go/protogen
Joe Tsai 124c8121e1 protogen: use types.Universe.Names for list of builtin identifiers
Rather than maintaining our own list of builtin Go identifiers, use the
types.Universe API in the standard library instead.

It is okay if this list of names changes over time since we use this only
to derive a locally-used package name in the generated file.

Change-Id: Ib1688abc47d5c97b557f6e1f4d60c78e0951e65b
Reviewed-on: https://go-review.googlesource.com/c/157818
Reviewed-by: Damien Neil <dneil@google.com>
2019-01-14 20:10:11 +00:00
..
testdata/go_package protogen, cmd/protoc-gen-go: initial commit 2018-08-22 17:08:04 +00:00
names_test.go protogen: simplify and fix naming derivation logic 2018-12-14 18:30:52 +00:00
names.go protogen: use types.Universe.Names for list of builtin identifiers 2019-01-14 20:10:11 +00:00
protogen_test.go cmd/protoc-gen-go: generate public imports by parsing the imported .pb.go 2019-01-03 21:46:42 +00:00
protogen.go protogen: use types.Universe.Names for list of builtin identifiers 2019-01-14 20:10:11 +00:00