Documentation
¶
Index ¶
- Variables
- type ExtraField
- func (*ExtraField) Descriptor() ([]byte, []int)deprecated
- func (x *ExtraField) GetName() string
- func (x *ExtraField) GetPackage() string
- func (x *ExtraField) GetTag() string
- func (x *ExtraField) GetType() string
- func (*ExtraField) ProtoMessage()
- func (x *ExtraField) ProtoReflect() protoreflect.Message
- func (x *ExtraField) Reset()
- func (x *ExtraField) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // optional bool ormable = 1018; E_Ormable = &file_options_gorm_proto_extTypes[1] // repeated gorm.ExtraField include = 1019; E_Include = &file_options_gorm_proto_extTypes[2] // optional string table = 1020; E_Table = &file_options_gorm_proto_extTypes[3] // bool multi_account = 1021; )
Extension fields to descriptorpb.MessageOptions.
View Source
var ( // 字段标签 https://gorm.io/zh_CN/docs/models.html#%E5%AD%97%E6%AE%B5%E6%A0%87%E7%AD%BE // // optional string tag = 1018; E_Tag = &file_options_gorm_proto_extTypes[4] // optional bool drop = 1019; E_Drop = &file_options_gorm_proto_extTypes[5] )
Extension fields to descriptorpb.FieldOptions.
View Source
var (
// optional bool autogen = 1018;
E_Autogen = &file_options_gorm_proto_extTypes[6]
)
Extension fields to descriptorpb.ServiceOptions.
View Source
var (
// optional string table_prefix = 1018;
E_TablePrefix = &file_options_gorm_proto_extTypes[0]
)
Extension fields to descriptorpb.FileOptions.
View Source
var File_options_gorm_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExtraField ¶
type ExtraField struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` Package string `protobuf:"bytes,4,opt,name=package,proto3" json:"package,omitempty"` // contains filtered or unexported fields }
func (*ExtraField) Descriptor
deprecated
func (*ExtraField) Descriptor() ([]byte, []int)
Deprecated: Use ExtraField.ProtoReflect.Descriptor instead.
func (*ExtraField) GetName ¶
func (x *ExtraField) GetName() string
func (*ExtraField) GetPackage ¶
func (x *ExtraField) GetPackage() string
func (*ExtraField) GetTag ¶
func (x *ExtraField) GetTag() string
func (*ExtraField) GetType ¶
func (x *ExtraField) GetType() string
func (*ExtraField) ProtoMessage ¶
func (*ExtraField) ProtoMessage()
func (*ExtraField) ProtoReflect ¶
func (x *ExtraField) ProtoReflect() protoreflect.Message
func (*ExtraField) Reset ¶
func (x *ExtraField) Reset()
func (*ExtraField) String ¶
func (x *ExtraField) String() string
Click to show internal directories.
Click to hide internal directories.