package detectknown
import "google.golang.org/protobuf/internal/detectknown"
Package detectknown provides functionality for detecting well-known types and identifying them by name.
Index ¶
Types ¶
type ProtoFile ¶
type ProtoFile int
const ( Unknown ProtoFile = iota AnyProto TimestampProto DurationProto WrappersProto StructProto FieldMaskProto EmptyProto )
func Which ¶
func Which(s protoreflect.FullName) ProtoFile
Which identifies the proto file that a well-known type belongs to.
Source Files ¶
detect.go
- Version
- v1.23.0
- Published
- May 14, 2020
- Platform
- darwin/amd64
- Imports
- 1 packages
- Last checked
- 29 minutes ago –
Tools for package owners.