Documentation ¶
Index ¶
- type Example
- func (*Example) Descriptor() ([]byte, []int)
- func (m *Example) GetCreatedAt() *timestamp.Timestamp
- func (m *Example) GetEmail() string
- func (m *Example) GetName() string
- func (m *Example) GetPoint() float64
- func (m *Example) GetUserId() int32
- func (*Example) ProtoMessage()
- func (m *Example) Reset()
- func (m *Example) String() string
- func (*Example) TableName() string
- func (*Example) Tag(field, tag string) (val string, found bool)
- func (m *Example) XXX_DiscardUnknown()
- func (m *Example) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Example) XXX_Merge(src proto.Message)
- func (m *Example) XXX_Size() int
- func (m *Example) XXX_Unmarshal(b []byte) error
- type ExampleAutoIncrement
- func (*ExampleAutoIncrement) Descriptor() ([]byte, []int)
- func (m *ExampleAutoIncrement) GetUserId() int32
- func (*ExampleAutoIncrement) ProtoMessage()
- func (m *ExampleAutoIncrement) Reset()
- func (m *ExampleAutoIncrement) String() string
- func (*ExampleAutoIncrement) TableName() string
- func (*ExampleAutoIncrement) Tag(field, tag string) (val string, found bool)
- func (m *ExampleAutoIncrement) XXX_DiscardUnknown()
- func (m *ExampleAutoIncrement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExampleAutoIncrement) XXX_Merge(src proto.Message)
- func (m *ExampleAutoIncrement) XXX_Size() int
- func (m *ExampleAutoIncrement) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Example ¶
type Example struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Point float64 `protobuf:"fixed64,4,opt,name=point,proto3" json:"point,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Example) Descriptor ¶
func (*Example) GetCreatedAt ¶
func (*Example) ProtoMessage ¶
func (*Example) ProtoMessage()
func (*Example) XXX_DiscardUnknown ¶
func (m *Example) XXX_DiscardUnknown()
func (*Example) XXX_Marshal ¶
func (*Example) XXX_Unmarshal ¶
type ExampleAutoIncrement ¶
type ExampleAutoIncrement struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExampleAutoIncrement) Descriptor ¶
func (*ExampleAutoIncrement) Descriptor() ([]byte, []int)
func (*ExampleAutoIncrement) GetUserId ¶
func (m *ExampleAutoIncrement) GetUserId() int32
func (*ExampleAutoIncrement) ProtoMessage ¶
func (*ExampleAutoIncrement) ProtoMessage()
func (*ExampleAutoIncrement) Reset ¶
func (m *ExampleAutoIncrement) Reset()
func (*ExampleAutoIncrement) String ¶
func (m *ExampleAutoIncrement) String() string
func (*ExampleAutoIncrement) TableName ¶
func (*ExampleAutoIncrement) TableName() string
func (*ExampleAutoIncrement) Tag ¶
func (*ExampleAutoIncrement) Tag(field, tag string) (val string, found bool)
func (*ExampleAutoIncrement) XXX_DiscardUnknown ¶
func (m *ExampleAutoIncrement) XXX_DiscardUnknown()
func (*ExampleAutoIncrement) XXX_Marshal ¶
func (m *ExampleAutoIncrement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExampleAutoIncrement) XXX_Merge ¶
func (m *ExampleAutoIncrement) XXX_Merge(src proto.Message)
func (*ExampleAutoIncrement) XXX_Size ¶
func (m *ExampleAutoIncrement) XXX_Size() int
func (*ExampleAutoIncrement) XXX_Unmarshal ¶
func (m *ExampleAutoIncrement) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.