package
0.14.1
Repository: https://github.com/bufbuild/protocompile.git
Documentation: pkg.go.dev

# Functions

GetEdition returns the edition for a given element.
GetEditionDefaults returns the default feature values for the given edition.
GetFeatureDefault computes the default value for a feature.
ResolveFeature resolves a feature for the given descriptor.

# Constants

MaxSupportedEdition is the most recent edition supported by this module.
MinSupportedEdition is the earliest edition supported by this module.

# Variables

FeatureSetDescriptor is the message descriptor for the compiled-in version (in the descriptorpb package) of the google.protobuf.FeatureSet message type.
FeatureSetType is the message type for the compiled-in version (in the descriptorpb package) of google.protobuf.FeatureSet.
SupportedEditions is the exhaustive set of editions that protocompile can support.

# Interfaces

HasEdition should be implemented by values that implement [protoreflect.FileDescriptor], to provide access to the file's edition when its syntax is [protoreflect.Editions].
HasFeatures is implemented by all options messages and provides a nil-receiver-safe way of accessing the features explicitly configured in those options.