Documentation
¶
Index ¶
- Variables
- type TestTest
- func (*TestTest) Descriptor() ([]byte, []int)deprecated
- func (x *TestTest) GetCreateTime() *protox.Timestamp
- func (x *TestTest) GetDescription() string
- func (x *TestTest) GetId() int64
- func (x *TestTest) GetName() string
- func (x *TestTest) GetProjectId() int64
- func (x *TestTest) GetPublic() string
- func (x *TestTest) GetPublicId() string
- func (x *TestTest) GetType() string
- func (x *TestTest) GetUpdateTime() *protox.Timestamp
- func (x TestTest) MarshalJSON() ([]byte, error)
- func (*TestTest) ProtoMessage()
- func (x *TestTest) ProtoReflect() protoreflect.Message
- func (x *TestTest) Reset()
- func (data *TestTest) Scan(src any) error
- func (x *TestTest) String() string
- func (*TestTest) Table() string
- func (x *TestTest) UnmarshalJSON(content []byte) error
- func (data TestTest) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TestTest ¶
type TestTest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
Public *string `protobuf:"bytes,3,opt,name=Public,proto3,oneof" json:"Public,omitempty"`
// @gotags: db:"-" json:"id"
PublicId string `protobuf:"bytes,5,opt,name=publicId,proto3" json:"publicId,omitempty"`
// @gotags: db:"type"
Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"` // 'enum' | 'message'
// @gotags: db:"description"
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
// @gotags: db:"fields"
ProjectId int64 `protobuf:"varint,11,opt,name=projectId,proto3" json:"projectId,omitempty"`
// @gotags: db:"createTime"
CreateTime *protox.Timestamp `protobuf:"bytes,12,opt,name=createTime,proto3" json:"createTime,omitempty"`
// @gotags: db:"updateTime"
UpdateTime *protox.Timestamp `protobuf:"bytes,13,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
// contains filtered or unexported fields
}
func (*TestTest) Descriptor
deprecated
func (*TestTest) GetCreateTime ¶
func (*TestTest) GetDescription ¶
func (*TestTest) GetProjectId ¶
func (*TestTest) GetPublicId ¶
func (*TestTest) GetUpdateTime ¶
func (TestTest) MarshalJSON ¶
func (*TestTest) ProtoMessage ¶
func (*TestTest) ProtoMessage()
func (*TestTest) ProtoReflect ¶
func (x *TestTest) ProtoReflect() protoreflect.Message
func (*TestTest) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.