package
2.0.0-beta.2
Repository: https://github.com/jhump/protoreflect.git
Documentation: pkg.go.dev

# Packages

# Functions

AddSourceInfoToEnum will return a new enum descriptor that is a copy of ed except that it includes source code info.
AddSourceInfoToEnumType will return a new enum type that is a copy of et except that its associated descriptor includes source code info.
AddSourceInfoToExtensionType will return a new extension type that is a copy of xt except that its associated descriptor includes source code info.
AddSourceInfoToField will return a new field descriptor that is a copy of ed except that it includes source code info.
AddSourceInfoToFile will return a new file descriptor that is a copy of fd except that it includes source code info.
AddSourceInfoToMessage will return a new message descriptor that is a copy of md except that it includes source code info.
AddSourceInfoToMessageType will return a new message type that is a copy of mt except that its associated descriptor includes source code info.
AddSourceInfoToService will return a new service descriptor that is a copy of sd except that it includes source code info.
ForFile queries for any registered source code info for the file descriptor with the given path/name.
Register registers the given source code info, which is a serialized and gzipped form of a google.protobuf.SourceCodeInfo message.

# Variables

Files is a registry of descriptors that include source code info, if the files they belong to were processed with protoc-gen-gosrcinfo.
Types is a registry of types that include source code info, if the files they belong to were processed with protoc-gen-gosrcinfo.