Documentation ¶
Index ¶
- Variables
- type AutoServerOptions
- func (*AutoServerOptions) Descriptor() ([]byte, []int)
- func (m *AutoServerOptions) GetAutogen() bool
- func (m *AutoServerOptions) GetTxnMiddleware() bool
- func (m *AutoServerOptions) GetWithTracing() bool
- func (*AutoServerOptions) ProtoMessage()
- func (m *AutoServerOptions) Reset()
- func (m *AutoServerOptions) String() string
- func (m *AutoServerOptions) XXX_DiscardUnknown()
- func (m *AutoServerOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AutoServerOptions) XXX_Merge(src proto.Message)
- func (m *AutoServerOptions) XXX_Size() int
- func (m *AutoServerOptions) XXX_Unmarshal(b []byte) error
- type BelongsToOptions
- func (*BelongsToOptions) Descriptor() ([]byte, []int)
- func (m *BelongsToOptions) GetAssociationAutocreate() bool
- func (m *BelongsToOptions) GetAssociationAutoupdate() bool
- func (m *BelongsToOptions) GetAssociationForeignkey() string
- func (m *BelongsToOptions) GetAssociationSaveReference() bool
- func (m *BelongsToOptions) GetForeignkey() string
- func (m *BelongsToOptions) GetForeignkeyTag() *GormTag
- func (m *BelongsToOptions) GetPreload() bool
- func (*BelongsToOptions) ProtoMessage()
- func (m *BelongsToOptions) Reset()
- func (m *BelongsToOptions) String() string
- func (m *BelongsToOptions) XXX_DiscardUnknown()
- func (m *BelongsToOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BelongsToOptions) XXX_Merge(src proto.Message)
- func (m *BelongsToOptions) XXX_Size() int
- func (m *BelongsToOptions) XXX_Unmarshal(b []byte) error
- type ExtraField
- func (*ExtraField) Descriptor() ([]byte, []int)
- func (m *ExtraField) GetName() string
- func (m *ExtraField) GetPackage() string
- func (m *ExtraField) GetTag() *GormTag
- func (m *ExtraField) GetType() string
- func (*ExtraField) ProtoMessage()
- func (m *ExtraField) Reset()
- func (m *ExtraField) String() string
- func (m *ExtraField) XXX_DiscardUnknown()
- func (m *ExtraField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtraField) XXX_Merge(src proto.Message)
- func (m *ExtraField) XXX_Size() int
- func (m *ExtraField) XXX_Unmarshal(b []byte) error
- type GormFieldOptions
- func (*GormFieldOptions) Descriptor() ([]byte, []int)
- func (m *GormFieldOptions) GetAssociation() isGormFieldOptions_Association
- func (m *GormFieldOptions) GetBelongsTo() *BelongsToOptions
- func (m *GormFieldOptions) GetDrop() bool
- func (m *GormFieldOptions) GetHasMany() *HasManyOptions
- func (m *GormFieldOptions) GetHasOne() *HasOneOptions
- func (m *GormFieldOptions) GetManyToMany() *ManyToManyOptions
- func (m *GormFieldOptions) GetReferenceOf() string
- func (m *GormFieldOptions) GetTag() *GormTag
- func (*GormFieldOptions) ProtoMessage()
- func (m *GormFieldOptions) Reset()
- func (m *GormFieldOptions) String() string
- func (m *GormFieldOptions) XXX_DiscardUnknown()
- func (m *GormFieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GormFieldOptions) XXX_Merge(src proto.Message)
- func (*GormFieldOptions) XXX_OneofWrappers() []interface{}
- func (m *GormFieldOptions) XXX_Size() int
- func (m *GormFieldOptions) XXX_Unmarshal(b []byte) error
- type GormFieldOptions_BelongsTo
- type GormFieldOptions_HasMany
- type GormFieldOptions_HasOne
- type GormFieldOptions_ManyToMany
- type GormFileOptions
- func (*GormFileOptions) Descriptor() ([]byte, []int)
- func (*GormFileOptions) ProtoMessage()
- func (m *GormFileOptions) Reset()
- func (m *GormFileOptions) String() string
- func (m *GormFileOptions) XXX_DiscardUnknown()
- func (m *GormFileOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GormFileOptions) XXX_Merge(src proto.Message)
- func (m *GormFileOptions) XXX_Size() int
- func (m *GormFileOptions) XXX_Unmarshal(b []byte) error
- type GormMessageOptions
- func (*GormMessageOptions) Descriptor() ([]byte, []int)
- func (m *GormMessageOptions) GetInclude() []*ExtraField
- func (m *GormMessageOptions) GetMultiAccount() bool
- func (m *GormMessageOptions) GetOrmable() bool
- func (m *GormMessageOptions) GetTable() string
- func (*GormMessageOptions) ProtoMessage()
- func (m *GormMessageOptions) Reset()
- func (m *GormMessageOptions) String() string
- func (m *GormMessageOptions) XXX_DiscardUnknown()
- func (m *GormMessageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GormMessageOptions) XXX_Merge(src proto.Message)
- func (m *GormMessageOptions) XXX_Size() int
- func (m *GormMessageOptions) XXX_Unmarshal(b []byte) error
- type GormTag
- func (*GormTag) Descriptor() ([]byte, []int)
- func (m *GormTag) GetAssociationAutocreate() bool
- func (m *GormTag) GetAssociationAutoupdate() bool
- func (m *GormTag) GetAssociationForeignkey() string
- func (m *GormTag) GetAssociationJointableForeignkey() string
- func (m *GormTag) GetAssociationSaveReference() bool
- func (m *GormTag) GetAutoIncrement() bool
- func (m *GormTag) GetColumn() string
- func (m *GormTag) GetDefault() string
- func (m *GormTag) GetEmbedded() bool
- func (m *GormTag) GetEmbeddedPrefix() string
- func (m *GormTag) GetForeignkey() string
- func (m *GormTag) GetIgnore() bool
- func (m *GormTag) GetIndex() string
- func (m *GormTag) GetJointableForeignkey() string
- func (m *GormTag) GetManyToMany() string
- func (m *GormTag) GetNotNull() bool
- func (m *GormTag) GetPrecision() int32
- func (m *GormTag) GetPreload() bool
- func (m *GormTag) GetPrimaryKey() bool
- func (m *GormTag) GetSize_() int32
- func (m *GormTag) GetType() string
- func (m *GormTag) GetUnique() bool
- func (m *GormTag) GetUniqueIndex() string
- func (*GormTag) ProtoMessage()
- func (m *GormTag) Reset()
- func (m *GormTag) String() string
- func (m *GormTag) XXX_DiscardUnknown()
- func (m *GormTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GormTag) XXX_Merge(src proto.Message)
- func (m *GormTag) XXX_Size() int
- func (m *GormTag) XXX_Unmarshal(b []byte) error
- type HasManyOptions
- func (*HasManyOptions) Descriptor() ([]byte, []int)
- func (m *HasManyOptions) GetAppend() bool
- func (m *HasManyOptions) GetAssociationAutocreate() bool
- func (m *HasManyOptions) GetAssociationAutoupdate() bool
- func (m *HasManyOptions) GetAssociationForeignkey() string
- func (m *HasManyOptions) GetAssociationSaveReference() bool
- func (m *HasManyOptions) GetClear() bool
- func (m *HasManyOptions) GetForeignkey() string
- func (m *HasManyOptions) GetForeignkeyTag() *GormTag
- func (m *HasManyOptions) GetPositionField() string
- func (m *HasManyOptions) GetPositionFieldTag() *GormTag
- func (m *HasManyOptions) GetPreload() bool
- func (m *HasManyOptions) GetReplace() bool
- func (*HasManyOptions) ProtoMessage()
- func (m *HasManyOptions) Reset()
- func (m *HasManyOptions) String() string
- func (m *HasManyOptions) XXX_DiscardUnknown()
- func (m *HasManyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HasManyOptions) XXX_Merge(src proto.Message)
- func (m *HasManyOptions) XXX_Size() int
- func (m *HasManyOptions) XXX_Unmarshal(b []byte) error
- type HasOneOptions
- func (*HasOneOptions) Descriptor() ([]byte, []int)
- func (m *HasOneOptions) GetAppend() bool
- func (m *HasOneOptions) GetAssociationAutocreate() bool
- func (m *HasOneOptions) GetAssociationAutoupdate() bool
- func (m *HasOneOptions) GetAssociationForeignkey() string
- func (m *HasOneOptions) GetAssociationSaveReference() bool
- func (m *HasOneOptions) GetClear() bool
- func (m *HasOneOptions) GetForeignkey() string
- func (m *HasOneOptions) GetForeignkeyTag() *GormTag
- func (m *HasOneOptions) GetPreload() bool
- func (m *HasOneOptions) GetReplace() bool
- func (*HasOneOptions) ProtoMessage()
- func (m *HasOneOptions) Reset()
- func (m *HasOneOptions) String() string
- func (m *HasOneOptions) XXX_DiscardUnknown()
- func (m *HasOneOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HasOneOptions) XXX_Merge(src proto.Message)
- func (m *HasOneOptions) XXX_Size() int
- func (m *HasOneOptions) XXX_Unmarshal(b []byte) error
- type ManyToManyOptions
- func (*ManyToManyOptions) Descriptor() ([]byte, []int)
- func (m *ManyToManyOptions) GetAppend() bool
- func (m *ManyToManyOptions) GetAssociationAutocreate() bool
- func (m *ManyToManyOptions) GetAssociationAutoupdate() bool
- func (m *ManyToManyOptions) GetAssociationForeignkey() string
- func (m *ManyToManyOptions) GetAssociationJointableForeignkey() string
- func (m *ManyToManyOptions) GetAssociationSaveReference() bool
- func (m *ManyToManyOptions) GetClear() bool
- func (m *ManyToManyOptions) GetForeignkey() string
- func (m *ManyToManyOptions) GetJointable() string
- func (m *ManyToManyOptions) GetJointableForeignkey() string
- func (m *ManyToManyOptions) GetPreload() bool
- func (m *ManyToManyOptions) GetReplace() bool
- func (*ManyToManyOptions) ProtoMessage()
- func (m *ManyToManyOptions) Reset()
- func (m *ManyToManyOptions) String() string
- func (m *ManyToManyOptions) XXX_DiscardUnknown()
- func (m *ManyToManyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ManyToManyOptions) XXX_Merge(src proto.Message)
- func (m *ManyToManyOptions) XXX_Size() int
- func (m *ManyToManyOptions) XXX_Unmarshal(b []byte) error
- type MethodOptions
- func (*MethodOptions) Descriptor() ([]byte, []int)
- func (m *MethodOptions) GetObjectType() string
- func (*MethodOptions) ProtoMessage()
- func (m *MethodOptions) Reset()
- func (m *MethodOptions) String() string
- func (m *MethodOptions) XXX_DiscardUnknown()
- func (m *MethodOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MethodOptions) XXX_Merge(src proto.Message)
- func (m *MethodOptions) XXX_Size() int
- func (m *MethodOptions) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Field = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*GormFieldOptions)(nil), Field: 52119, Name: "gorm.field", Tag: "bytes,52119,opt,name=field", Filename: "options/gorm.proto", }
View Source
var E_FileOpts = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*GormFileOptions)(nil), Field: 52119, Name: "gorm.file_opts", Tag: "bytes,52119,opt,name=file_opts", Filename: "options/gorm.proto", }
View Source
var E_Method = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*MethodOptions)(nil), Field: 52119, Name: "gorm.method", Tag: "bytes,52119,opt,name=method", Filename: "options/gorm.proto", }
View Source
var E_Opts = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*GormMessageOptions)(nil), Field: 52119, Name: "gorm.opts", Tag: "bytes,52119,opt,name=opts", Filename: "options/gorm.proto", }
View Source
var E_Server = &proto.ExtensionDesc{ ExtendedType: (*descriptor.ServiceOptions)(nil), ExtensionType: (*AutoServerOptions)(nil), Field: 52119, Name: "gorm.server", Tag: "bytes,52119,opt,name=server", Filename: "options/gorm.proto", }
Functions ¶
This section is empty.
Types ¶
type AutoServerOptions ¶
type AutoServerOptions struct { Autogen bool `protobuf:"varint,1,opt,name=autogen,proto3" json:"autogen,omitempty"` TxnMiddleware bool `protobuf:"varint,2,opt,name=txn_middleware,json=txnMiddleware,proto3" json:"txn_middleware,omitempty"` WithTracing bool `protobuf:"varint,3,opt,name=with_tracing,json=withTracing,proto3" json:"with_tracing,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AutoServerOptions) Descriptor ¶
func (*AutoServerOptions) Descriptor() ([]byte, []int)
func (*AutoServerOptions) GetAutogen ¶
func (m *AutoServerOptions) GetAutogen() bool
func (*AutoServerOptions) GetTxnMiddleware ¶
func (m *AutoServerOptions) GetTxnMiddleware() bool
func (*AutoServerOptions) GetWithTracing ¶
func (m *AutoServerOptions) GetWithTracing() bool
func (*AutoServerOptions) ProtoMessage ¶
func (*AutoServerOptions) ProtoMessage()
func (*AutoServerOptions) Reset ¶
func (m *AutoServerOptions) Reset()
func (*AutoServerOptions) String ¶
func (m *AutoServerOptions) String() string
func (*AutoServerOptions) XXX_DiscardUnknown ¶
func (m *AutoServerOptions) XXX_DiscardUnknown()
func (*AutoServerOptions) XXX_Marshal ¶
func (m *AutoServerOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AutoServerOptions) XXX_Merge ¶
func (m *AutoServerOptions) XXX_Merge(src proto.Message)
func (*AutoServerOptions) XXX_Size ¶
func (m *AutoServerOptions) XXX_Size() int
func (*AutoServerOptions) XXX_Unmarshal ¶
func (m *AutoServerOptions) XXX_Unmarshal(b []byte) error
type BelongsToOptions ¶
type BelongsToOptions struct { Foreignkey string `protobuf:"bytes,1,opt,name=foreignkey,proto3" json:"foreignkey,omitempty"` ForeignkeyTag *GormTag `protobuf:"bytes,2,opt,name=foreignkey_tag,json=foreignkeyTag,proto3" json:"foreignkey_tag,omitempty"` AssociationForeignkey string `protobuf:"bytes,3,opt,name=association_foreignkey,json=associationForeignkey,proto3" json:"association_foreignkey,omitempty"` AssociationAutoupdate bool `protobuf:"varint,4,opt,name=association_autoupdate,json=associationAutoupdate,proto3" json:"association_autoupdate,omitempty"` AssociationAutocreate bool `protobuf:"varint,5,opt,name=association_autocreate,json=associationAutocreate,proto3" json:"association_autocreate,omitempty"` AssociationSaveReference bool `` /* 136-byte string literal not displayed */ Preload bool `protobuf:"varint,7,opt,name=preload,proto3" json:"preload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BelongsToOptions) Descriptor ¶
func (*BelongsToOptions) Descriptor() ([]byte, []int)
func (*BelongsToOptions) GetAssociationAutocreate ¶
func (m *BelongsToOptions) GetAssociationAutocreate() bool
func (*BelongsToOptions) GetAssociationAutoupdate ¶
func (m *BelongsToOptions) GetAssociationAutoupdate() bool
func (*BelongsToOptions) GetAssociationForeignkey ¶
func (m *BelongsToOptions) GetAssociationForeignkey() string
func (*BelongsToOptions) GetAssociationSaveReference ¶
func (m *BelongsToOptions) GetAssociationSaveReference() bool
func (*BelongsToOptions) GetForeignkey ¶
func (m *BelongsToOptions) GetForeignkey() string
func (*BelongsToOptions) GetForeignkeyTag ¶
func (m *BelongsToOptions) GetForeignkeyTag() *GormTag
func (*BelongsToOptions) GetPreload ¶
func (m *BelongsToOptions) GetPreload() bool
func (*BelongsToOptions) ProtoMessage ¶
func (*BelongsToOptions) ProtoMessage()
func (*BelongsToOptions) Reset ¶
func (m *BelongsToOptions) Reset()
func (*BelongsToOptions) String ¶
func (m *BelongsToOptions) String() string
func (*BelongsToOptions) XXX_DiscardUnknown ¶
func (m *BelongsToOptions) XXX_DiscardUnknown()
func (*BelongsToOptions) XXX_Marshal ¶
func (m *BelongsToOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BelongsToOptions) XXX_Merge ¶
func (m *BelongsToOptions) XXX_Merge(src proto.Message)
func (*BelongsToOptions) XXX_Size ¶
func (m *BelongsToOptions) XXX_Size() int
func (*BelongsToOptions) XXX_Unmarshal ¶
func (m *BelongsToOptions) XXX_Unmarshal(b []byte) error
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 *GormTag `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` Package string `protobuf:"bytes,4,opt,name=package,proto3" json:"package,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtraField) Descriptor ¶
func (*ExtraField) Descriptor() ([]byte, []int)
func (*ExtraField) GetName ¶
func (m *ExtraField) GetName() string
func (*ExtraField) GetPackage ¶
func (m *ExtraField) GetPackage() string
func (*ExtraField) GetTag ¶
func (m *ExtraField) GetTag() *GormTag
func (*ExtraField) GetType ¶
func (m *ExtraField) GetType() string
func (*ExtraField) ProtoMessage ¶
func (*ExtraField) ProtoMessage()
func (*ExtraField) Reset ¶
func (m *ExtraField) Reset()
func (*ExtraField) String ¶
func (m *ExtraField) String() string
func (*ExtraField) XXX_DiscardUnknown ¶
func (m *ExtraField) XXX_DiscardUnknown()
func (*ExtraField) XXX_Marshal ¶
func (m *ExtraField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtraField) XXX_Merge ¶
func (m *ExtraField) XXX_Merge(src proto.Message)
func (*ExtraField) XXX_Size ¶
func (m *ExtraField) XXX_Size() int
func (*ExtraField) XXX_Unmarshal ¶
func (m *ExtraField) XXX_Unmarshal(b []byte) error
type GormFieldOptions ¶
type GormFieldOptions struct { Tag *GormTag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Drop bool `protobuf:"varint,2,opt,name=drop,proto3" json:"drop,omitempty"` // Types that are valid to be assigned to Association: // *GormFieldOptions_HasOne // *GormFieldOptions_BelongsTo // *GormFieldOptions_HasMany // *GormFieldOptions_ManyToMany Association isGormFieldOptions_Association `protobuf_oneof:"association"` ReferenceOf string `protobuf:"bytes,7,opt,name=reference_of,json=referenceOf,proto3" json:"reference_of,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GormFieldOptions) Descriptor ¶
func (*GormFieldOptions) Descriptor() ([]byte, []int)
func (*GormFieldOptions) GetAssociation ¶
func (m *GormFieldOptions) GetAssociation() isGormFieldOptions_Association
func (*GormFieldOptions) GetBelongsTo ¶
func (m *GormFieldOptions) GetBelongsTo() *BelongsToOptions
func (*GormFieldOptions) GetDrop ¶
func (m *GormFieldOptions) GetDrop() bool
func (*GormFieldOptions) GetHasMany ¶
func (m *GormFieldOptions) GetHasMany() *HasManyOptions
func (*GormFieldOptions) GetHasOne ¶
func (m *GormFieldOptions) GetHasOne() *HasOneOptions
func (*GormFieldOptions) GetManyToMany ¶
func (m *GormFieldOptions) GetManyToMany() *ManyToManyOptions
func (*GormFieldOptions) GetReferenceOf ¶
func (m *GormFieldOptions) GetReferenceOf() string
func (*GormFieldOptions) GetTag ¶
func (m *GormFieldOptions) GetTag() *GormTag
func (*GormFieldOptions) ProtoMessage ¶
func (*GormFieldOptions) ProtoMessage()
func (*GormFieldOptions) Reset ¶
func (m *GormFieldOptions) Reset()
func (*GormFieldOptions) String ¶
func (m *GormFieldOptions) String() string
func (*GormFieldOptions) XXX_DiscardUnknown ¶
func (m *GormFieldOptions) XXX_DiscardUnknown()
func (*GormFieldOptions) XXX_Marshal ¶
func (m *GormFieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GormFieldOptions) XXX_Merge ¶
func (m *GormFieldOptions) XXX_Merge(src proto.Message)
func (*GormFieldOptions) XXX_OneofWrappers ¶
func (*GormFieldOptions) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GormFieldOptions) XXX_Size ¶
func (m *GormFieldOptions) XXX_Size() int
func (*GormFieldOptions) XXX_Unmarshal ¶
func (m *GormFieldOptions) XXX_Unmarshal(b []byte) error
type GormFieldOptions_BelongsTo ¶
type GormFieldOptions_BelongsTo struct {
BelongsTo *BelongsToOptions `protobuf:"bytes,4,opt,name=belongs_to,json=belongsTo,proto3,oneof" json:"belongs_to,omitempty"`
}
type GormFieldOptions_HasMany ¶
type GormFieldOptions_HasMany struct {
HasMany *HasManyOptions `protobuf:"bytes,5,opt,name=has_many,json=hasMany,proto3,oneof" json:"has_many,omitempty"`
}
type GormFieldOptions_HasOne ¶
type GormFieldOptions_HasOne struct {
HasOne *HasOneOptions `protobuf:"bytes,3,opt,name=has_one,json=hasOne,proto3,oneof" json:"has_one,omitempty"`
}
type GormFieldOptions_ManyToMany ¶
type GormFieldOptions_ManyToMany struct {
ManyToMany *ManyToManyOptions `protobuf:"bytes,6,opt,name=many_to_many,json=manyToMany,proto3,oneof" json:"many_to_many,omitempty"`
}
type GormFileOptions ¶
type GormFileOptions struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GormFileOptions) Descriptor ¶
func (*GormFileOptions) Descriptor() ([]byte, []int)
func (*GormFileOptions) ProtoMessage ¶
func (*GormFileOptions) ProtoMessage()
func (*GormFileOptions) Reset ¶
func (m *GormFileOptions) Reset()
func (*GormFileOptions) String ¶
func (m *GormFileOptions) String() string
func (*GormFileOptions) XXX_DiscardUnknown ¶
func (m *GormFileOptions) XXX_DiscardUnknown()
func (*GormFileOptions) XXX_Marshal ¶
func (m *GormFileOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GormFileOptions) XXX_Merge ¶
func (m *GormFileOptions) XXX_Merge(src proto.Message)
func (*GormFileOptions) XXX_Size ¶
func (m *GormFileOptions) XXX_Size() int
func (*GormFileOptions) XXX_Unmarshal ¶
func (m *GormFileOptions) XXX_Unmarshal(b []byte) error
type GormMessageOptions ¶
type GormMessageOptions struct { Ormable bool `protobuf:"varint,1,opt,name=ormable,proto3" json:"ormable,omitempty"` Include []*ExtraField `protobuf:"bytes,2,rep,name=include,proto3" json:"include,omitempty"` Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` MultiAccount bool `protobuf:"varint,4,opt,name=multi_account,json=multiAccount,proto3" json:"multi_account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GormMessageOptions) Descriptor ¶
func (*GormMessageOptions) Descriptor() ([]byte, []int)
func (*GormMessageOptions) GetInclude ¶
func (m *GormMessageOptions) GetInclude() []*ExtraField
func (*GormMessageOptions) GetMultiAccount ¶
func (m *GormMessageOptions) GetMultiAccount() bool
func (*GormMessageOptions) GetOrmable ¶
func (m *GormMessageOptions) GetOrmable() bool
func (*GormMessageOptions) GetTable ¶
func (m *GormMessageOptions) GetTable() string
func (*GormMessageOptions) ProtoMessage ¶
func (*GormMessageOptions) ProtoMessage()
func (*GormMessageOptions) Reset ¶
func (m *GormMessageOptions) Reset()
func (*GormMessageOptions) String ¶
func (m *GormMessageOptions) String() string
func (*GormMessageOptions) XXX_DiscardUnknown ¶
func (m *GormMessageOptions) XXX_DiscardUnknown()
func (*GormMessageOptions) XXX_Marshal ¶
func (m *GormMessageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GormMessageOptions) XXX_Merge ¶
func (m *GormMessageOptions) XXX_Merge(src proto.Message)
func (*GormMessageOptions) XXX_Size ¶
func (m *GormMessageOptions) XXX_Size() int
func (*GormMessageOptions) XXX_Unmarshal ¶
func (m *GormMessageOptions) XXX_Unmarshal(b []byte) error
type GormTag ¶
type GormTag struct { Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Size_ int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Precision int32 `protobuf:"varint,4,opt,name=precision,proto3" json:"precision,omitempty"` PrimaryKey bool `protobuf:"varint,5,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"` Unique bool `protobuf:"varint,6,opt,name=unique,proto3" json:"unique,omitempty"` Default string `protobuf:"bytes,7,opt,name=default,proto3" json:"default,omitempty"` NotNull bool `protobuf:"varint,8,opt,name=not_null,json=notNull,proto3" json:"not_null,omitempty"` AutoIncrement bool `protobuf:"varint,9,opt,name=auto_increment,json=autoIncrement,proto3" json:"auto_increment,omitempty"` Index string `protobuf:"bytes,10,opt,name=index,proto3" json:"index,omitempty"` UniqueIndex string `protobuf:"bytes,11,opt,name=unique_index,json=uniqueIndex,proto3" json:"unique_index,omitempty"` Embedded bool `protobuf:"varint,12,opt,name=embedded,proto3" json:"embedded,omitempty"` EmbeddedPrefix string `protobuf:"bytes,13,opt,name=embedded_prefix,json=embeddedPrefix,proto3" json:"embedded_prefix,omitempty"` Ignore bool `protobuf:"varint,14,opt,name=ignore,proto3" json:"ignore,omitempty"` Foreignkey string `protobuf:"bytes,15,opt,name=foreignkey,proto3" json:"foreignkey,omitempty"` AssociationForeignkey string `protobuf:"bytes,16,opt,name=association_foreignkey,json=associationForeignkey,proto3" json:"association_foreignkey,omitempty"` ManyToMany string `protobuf:"bytes,17,opt,name=many_to_many,json=manyToMany,proto3" json:"many_to_many,omitempty"` JointableForeignkey string `protobuf:"bytes,18,opt,name=jointable_foreignkey,json=jointableForeignkey,proto3" json:"jointable_foreignkey,omitempty"` AssociationJointableForeignkey string `` /* 154-byte string literal not displayed */ AssociationAutoupdate bool `` /* 126-byte string literal not displayed */ AssociationAutocreate bool `` /* 126-byte string literal not displayed */ AssociationSaveReference bool `` /* 137-byte string literal not displayed */ Preload bool `protobuf:"varint,23,opt,name=preload,proto3" json:"preload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GormTag) Descriptor ¶
func (*GormTag) GetAssociationAutocreate ¶
func (*GormTag) GetAssociationAutoupdate ¶
func (*GormTag) GetAssociationForeignkey ¶
func (*GormTag) GetAssociationJointableForeignkey ¶
func (*GormTag) GetAssociationSaveReference ¶
func (*GormTag) GetAutoIncrement ¶
func (*GormTag) GetDefault ¶
func (*GormTag) GetEmbedded ¶
func (*GormTag) GetEmbeddedPrefix ¶
func (*GormTag) GetForeignkey ¶
func (*GormTag) GetJointableForeignkey ¶
func (*GormTag) GetManyToMany ¶
func (*GormTag) GetNotNull ¶
func (*GormTag) GetPrecision ¶
func (*GormTag) GetPreload ¶
func (*GormTag) GetPrimaryKey ¶
func (*GormTag) GetUniqueIndex ¶
func (*GormTag) ProtoMessage ¶
func (*GormTag) ProtoMessage()
func (*GormTag) XXX_DiscardUnknown ¶
func (m *GormTag) XXX_DiscardUnknown()
func (*GormTag) XXX_Marshal ¶
func (*GormTag) XXX_Unmarshal ¶
type HasManyOptions ¶
type HasManyOptions struct { Foreignkey string `protobuf:"bytes,1,opt,name=foreignkey,proto3" json:"foreignkey,omitempty"` ForeignkeyTag *GormTag `protobuf:"bytes,2,opt,name=foreignkey_tag,json=foreignkeyTag,proto3" json:"foreignkey_tag,omitempty"` AssociationForeignkey string `protobuf:"bytes,3,opt,name=association_foreignkey,json=associationForeignkey,proto3" json:"association_foreignkey,omitempty"` PositionField string `protobuf:"bytes,4,opt,name=position_field,json=positionField,proto3" json:"position_field,omitempty"` PositionFieldTag *GormTag `protobuf:"bytes,5,opt,name=position_field_tag,json=positionFieldTag,proto3" json:"position_field_tag,omitempty"` AssociationAutoupdate bool `protobuf:"varint,6,opt,name=association_autoupdate,json=associationAutoupdate,proto3" json:"association_autoupdate,omitempty"` AssociationAutocreate bool `protobuf:"varint,7,opt,name=association_autocreate,json=associationAutocreate,proto3" json:"association_autocreate,omitempty"` AssociationSaveReference bool `` /* 136-byte string literal not displayed */ Preload bool `protobuf:"varint,9,opt,name=preload,proto3" json:"preload,omitempty"` Replace bool `protobuf:"varint,10,opt,name=replace,proto3" json:"replace,omitempty"` Append bool `protobuf:"varint,11,opt,name=append,proto3" json:"append,omitempty"` Clear bool `protobuf:"varint,12,opt,name=clear,proto3" json:"clear,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HasManyOptions) Descriptor ¶
func (*HasManyOptions) Descriptor() ([]byte, []int)
func (*HasManyOptions) GetAppend ¶
func (m *HasManyOptions) GetAppend() bool
func (*HasManyOptions) GetAssociationAutocreate ¶
func (m *HasManyOptions) GetAssociationAutocreate() bool
func (*HasManyOptions) GetAssociationAutoupdate ¶
func (m *HasManyOptions) GetAssociationAutoupdate() bool
func (*HasManyOptions) GetAssociationForeignkey ¶
func (m *HasManyOptions) GetAssociationForeignkey() string
func (*HasManyOptions) GetAssociationSaveReference ¶
func (m *HasManyOptions) GetAssociationSaveReference() bool
func (*HasManyOptions) GetClear ¶
func (m *HasManyOptions) GetClear() bool
func (*HasManyOptions) GetForeignkey ¶
func (m *HasManyOptions) GetForeignkey() string
func (*HasManyOptions) GetForeignkeyTag ¶
func (m *HasManyOptions) GetForeignkeyTag() *GormTag
func (*HasManyOptions) GetPositionField ¶
func (m *HasManyOptions) GetPositionField() string
func (*HasManyOptions) GetPositionFieldTag ¶
func (m *HasManyOptions) GetPositionFieldTag() *GormTag
func (*HasManyOptions) GetPreload ¶
func (m *HasManyOptions) GetPreload() bool
func (*HasManyOptions) GetReplace ¶
func (m *HasManyOptions) GetReplace() bool
func (*HasManyOptions) ProtoMessage ¶
func (*HasManyOptions) ProtoMessage()
func (*HasManyOptions) Reset ¶
func (m *HasManyOptions) Reset()
func (*HasManyOptions) String ¶
func (m *HasManyOptions) String() string
func (*HasManyOptions) XXX_DiscardUnknown ¶
func (m *HasManyOptions) XXX_DiscardUnknown()
func (*HasManyOptions) XXX_Marshal ¶
func (m *HasManyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HasManyOptions) XXX_Merge ¶
func (m *HasManyOptions) XXX_Merge(src proto.Message)
func (*HasManyOptions) XXX_Size ¶
func (m *HasManyOptions) XXX_Size() int
func (*HasManyOptions) XXX_Unmarshal ¶
func (m *HasManyOptions) XXX_Unmarshal(b []byte) error
type HasOneOptions ¶
type HasOneOptions struct { Foreignkey string `protobuf:"bytes,1,opt,name=foreignkey,proto3" json:"foreignkey,omitempty"` ForeignkeyTag *GormTag `protobuf:"bytes,2,opt,name=foreignkey_tag,json=foreignkeyTag,proto3" json:"foreignkey_tag,omitempty"` AssociationForeignkey string `protobuf:"bytes,3,opt,name=association_foreignkey,json=associationForeignkey,proto3" json:"association_foreignkey,omitempty"` AssociationAutoupdate bool `protobuf:"varint,4,opt,name=association_autoupdate,json=associationAutoupdate,proto3" json:"association_autoupdate,omitempty"` AssociationAutocreate bool `protobuf:"varint,5,opt,name=association_autocreate,json=associationAutocreate,proto3" json:"association_autocreate,omitempty"` AssociationSaveReference bool `` /* 136-byte string literal not displayed */ Preload bool `protobuf:"varint,7,opt,name=preload,proto3" json:"preload,omitempty"` Replace bool `protobuf:"varint,8,opt,name=replace,proto3" json:"replace,omitempty"` Append bool `protobuf:"varint,9,opt,name=append,proto3" json:"append,omitempty"` Clear bool `protobuf:"varint,10,opt,name=clear,proto3" json:"clear,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HasOneOptions) Descriptor ¶
func (*HasOneOptions) Descriptor() ([]byte, []int)
func (*HasOneOptions) GetAppend ¶
func (m *HasOneOptions) GetAppend() bool
func (*HasOneOptions) GetAssociationAutocreate ¶
func (m *HasOneOptions) GetAssociationAutocreate() bool
func (*HasOneOptions) GetAssociationAutoupdate ¶
func (m *HasOneOptions) GetAssociationAutoupdate() bool
func (*HasOneOptions) GetAssociationForeignkey ¶
func (m *HasOneOptions) GetAssociationForeignkey() string
func (*HasOneOptions) GetAssociationSaveReference ¶
func (m *HasOneOptions) GetAssociationSaveReference() bool
func (*HasOneOptions) GetClear ¶
func (m *HasOneOptions) GetClear() bool
func (*HasOneOptions) GetForeignkey ¶
func (m *HasOneOptions) GetForeignkey() string
func (*HasOneOptions) GetForeignkeyTag ¶
func (m *HasOneOptions) GetForeignkeyTag() *GormTag
func (*HasOneOptions) GetPreload ¶
func (m *HasOneOptions) GetPreload() bool
func (*HasOneOptions) GetReplace ¶
func (m *HasOneOptions) GetReplace() bool
func (*HasOneOptions) ProtoMessage ¶
func (*HasOneOptions) ProtoMessage()
func (*HasOneOptions) Reset ¶
func (m *HasOneOptions) Reset()
func (*HasOneOptions) String ¶
func (m *HasOneOptions) String() string
func (*HasOneOptions) XXX_DiscardUnknown ¶
func (m *HasOneOptions) XXX_DiscardUnknown()
func (*HasOneOptions) XXX_Marshal ¶
func (m *HasOneOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HasOneOptions) XXX_Merge ¶
func (m *HasOneOptions) XXX_Merge(src proto.Message)
func (*HasOneOptions) XXX_Size ¶
func (m *HasOneOptions) XXX_Size() int
func (*HasOneOptions) XXX_Unmarshal ¶
func (m *HasOneOptions) XXX_Unmarshal(b []byte) error
type ManyToManyOptions ¶
type ManyToManyOptions struct { Jointable string `protobuf:"bytes,1,opt,name=jointable,proto3" json:"jointable,omitempty"` Foreignkey string `protobuf:"bytes,2,opt,name=foreignkey,proto3" json:"foreignkey,omitempty"` JointableForeignkey string `protobuf:"bytes,3,opt,name=jointable_foreignkey,json=jointableForeignkey,proto3" json:"jointable_foreignkey,omitempty"` AssociationForeignkey string `protobuf:"bytes,4,opt,name=association_foreignkey,json=associationForeignkey,proto3" json:"association_foreignkey,omitempty"` AssociationJointableForeignkey string `` /* 153-byte string literal not displayed */ AssociationAutoupdate bool `protobuf:"varint,6,opt,name=association_autoupdate,json=associationAutoupdate,proto3" json:"association_autoupdate,omitempty"` AssociationAutocreate bool `protobuf:"varint,7,opt,name=association_autocreate,json=associationAutocreate,proto3" json:"association_autocreate,omitempty"` AssociationSaveReference bool `` /* 136-byte string literal not displayed */ Preload bool `protobuf:"varint,9,opt,name=preload,proto3" json:"preload,omitempty"` Replace bool `protobuf:"varint,10,opt,name=replace,proto3" json:"replace,omitempty"` Append bool `protobuf:"varint,11,opt,name=append,proto3" json:"append,omitempty"` Clear bool `protobuf:"varint,13,opt,name=clear,proto3" json:"clear,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManyToManyOptions) Descriptor ¶
func (*ManyToManyOptions) Descriptor() ([]byte, []int)
func (*ManyToManyOptions) GetAppend ¶
func (m *ManyToManyOptions) GetAppend() bool
func (*ManyToManyOptions) GetAssociationAutocreate ¶
func (m *ManyToManyOptions) GetAssociationAutocreate() bool
func (*ManyToManyOptions) GetAssociationAutoupdate ¶
func (m *ManyToManyOptions) GetAssociationAutoupdate() bool
func (*ManyToManyOptions) GetAssociationForeignkey ¶
func (m *ManyToManyOptions) GetAssociationForeignkey() string
func (*ManyToManyOptions) GetAssociationJointableForeignkey ¶
func (m *ManyToManyOptions) GetAssociationJointableForeignkey() string
func (*ManyToManyOptions) GetAssociationSaveReference ¶
func (m *ManyToManyOptions) GetAssociationSaveReference() bool
func (*ManyToManyOptions) GetClear ¶
func (m *ManyToManyOptions) GetClear() bool
func (*ManyToManyOptions) GetForeignkey ¶
func (m *ManyToManyOptions) GetForeignkey() string
func (*ManyToManyOptions) GetJointable ¶
func (m *ManyToManyOptions) GetJointable() string
func (*ManyToManyOptions) GetJointableForeignkey ¶
func (m *ManyToManyOptions) GetJointableForeignkey() string
func (*ManyToManyOptions) GetPreload ¶
func (m *ManyToManyOptions) GetPreload() bool
func (*ManyToManyOptions) GetReplace ¶
func (m *ManyToManyOptions) GetReplace() bool
func (*ManyToManyOptions) ProtoMessage ¶
func (*ManyToManyOptions) ProtoMessage()
func (*ManyToManyOptions) Reset ¶
func (m *ManyToManyOptions) Reset()
func (*ManyToManyOptions) String ¶
func (m *ManyToManyOptions) String() string
func (*ManyToManyOptions) XXX_DiscardUnknown ¶
func (m *ManyToManyOptions) XXX_DiscardUnknown()
func (*ManyToManyOptions) XXX_Marshal ¶
func (m *ManyToManyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManyToManyOptions) XXX_Merge ¶
func (m *ManyToManyOptions) XXX_Merge(src proto.Message)
func (*ManyToManyOptions) XXX_Size ¶
func (m *ManyToManyOptions) XXX_Size() int
func (*ManyToManyOptions) XXX_Unmarshal ¶
func (m *ManyToManyOptions) XXX_Unmarshal(b []byte) error
type MethodOptions ¶
type MethodOptions struct { ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MethodOptions) Descriptor ¶
func (*MethodOptions) Descriptor() ([]byte, []int)
func (*MethodOptions) GetObjectType ¶
func (m *MethodOptions) GetObjectType() string
func (*MethodOptions) ProtoMessage ¶
func (*MethodOptions) ProtoMessage()
func (*MethodOptions) Reset ¶
func (m *MethodOptions) Reset()
func (*MethodOptions) String ¶
func (m *MethodOptions) String() string
func (*MethodOptions) XXX_DiscardUnknown ¶
func (m *MethodOptions) XXX_DiscardUnknown()
func (*MethodOptions) XXX_Marshal ¶
func (m *MethodOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MethodOptions) XXX_Merge ¶
func (m *MethodOptions) XXX_Merge(src proto.Message)
func (*MethodOptions) XXX_Size ¶
func (m *MethodOptions) XXX_Size() int
func (*MethodOptions) XXX_Unmarshal ¶
func (m *MethodOptions) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.