protobuf-go/internal
Damien Neil 0fc224513b cmd/protoc-gen-go: enforce init order within packages
Ensure that the init funcs for files within a Go package run in the
dependency order of the source .proto files. That is, if a.proto and b.proto
are part of the same Go package, and a.proto imports b.proto, then b.pb.go's
init funcs must run before a.pb.go's.

Change-Id: I0e86ff22e5c4cab9df7a73fe4805390fadd34b0d
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/166419
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Reviewed-by: Herbie Ong <herbie@google.com>
2019-03-10 22:19:14 +00:00
..
cmd internal/cmd/generate-protos: generate internal descfield package 2019-03-02 23:16:45 +00:00
descfield internal/cmd/generate-protos: generate internal descfield package 2019-03-02 23:16:45 +00:00
detrand
encoding internal/encoding/jsonx: copy internal/encoding/json 2019-03-02 00:23:28 +00:00
errors internal/errors: fix New in eliding prefix 2019-02-27 22:36:14 +00:00
fileinit internal/cmd/generate-protos: generate internal descfield package 2019-03-02 23:16:45 +00:00
flags
impl internal/impl: drop MessageType.(Unk|K)nownFieldsOf 2019-01-30 01:34:45 +00:00
legacy internal/fileinit: generate reflect data structures from raw descriptors 2019-01-30 01:33:46 +00:00
pragma
scalar
set
testprotos cmd/protoc-gen-go: enforce init order within packages 2019-03-10 22:19:14 +00:00
typefmt
value reflect: switch MessageType.New to return Message 2019-01-09 20:29:29 +00:00