Source File
options.go
Belonging Package
google.golang.org/protobuf/internal/descopts
// Copyright 2019 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.// Package descopts contains the nil pointers to concrete descriptor options.//// This package exists as a form of reverse dependency injection so that certain// packages (e.g., internal/filedesc and internal/filetype can avoid a direct// dependency on the descriptor proto package).package descoptsimport// These variables are set by the init function in descriptor.pb.go via logic// in internal/filetype. In other words, so long as the descriptor proto package// is linked in, these variables will be populated.//// Each variable is populated with a nil pointer to the options struct.var (File protoreflect.ProtoMessageEnum protoreflect.ProtoMessageEnumValue protoreflect.ProtoMessageMessage protoreflect.ProtoMessageField protoreflect.ProtoMessageOneof protoreflect.ProtoMessageExtensionRange protoreflect.ProtoMessageService protoreflect.ProtoMessageMethod protoreflect.ProtoMessage)
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |