Documentation ¶
Overview ¶
Code generated by db2go. DO NOT EDIT.
Code generated by db2go. DO NOT EDIT.
Index ¶
- Variables
- type ClassesDO
- func (*ClassesDO) Descriptor() ([]byte, []int)
- func (m *ClassesDO) GetClassNo() string
- func (m *ClassesDO) GetCreatedAt() string
- func (m *ClassesDO) GetId() int32
- func (m *ClassesDO) GetUpdatedAt() string
- func (m *ClassesDO) GetUserId() int32
- func (this *ClassesDO) GoString() string
- func (m *ClassesDO) Marshal() (dAtA []byte, err error)
- func (m *ClassesDO) MarshalTo(dAtA []byte) (int, error)
- func (m *ClassesDO) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClassesDO) ProtoMessage()
- func (m *ClassesDO) Reset()
- func (do *ClassesDO) SetClassNo(v string)
- func (do *ClassesDO) SetId(v int32)
- func (do *ClassesDO) SetUserId(v int32)
- func (m *ClassesDO) Size() (n int)
- func (m *ClassesDO) String() string
- func (m *ClassesDO) Unmarshal(dAtA []byte) error
- func (m *ClassesDO) XXX_DiscardUnknown()
- func (m *ClassesDO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClassesDO) XXX_Merge(src proto.Message)
- func (m *ClassesDO) XXX_Size() int
- func (m *ClassesDO) XXX_Unmarshal(b []byte) error
- type UsersDO
- func (*UsersDO) Descriptor() ([]byte, []int)
- func (m *UsersDO) GetBalance() float64
- func (m *UsersDO) GetCreatedAt() string
- func (m *UsersDO) GetDisable() int32
- func (m *UsersDO) GetEmail() string
- func (m *UsersDO) GetId() int32
- func (m *UsersDO) GetName() string
- func (m *UsersDO) GetPhone() string
- func (m *UsersDO) GetSex() int32
- func (m *UsersDO) GetUpdatedAt() string
- func (this *UsersDO) GoString() string
- func (m *UsersDO) Marshal() (dAtA []byte, err error)
- func (m *UsersDO) MarshalTo(dAtA []byte) (int, error)
- func (m *UsersDO) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UsersDO) ProtoMessage()
- func (m *UsersDO) Reset()
- func (do *UsersDO) SetBalance(v float64)
- func (do *UsersDO) SetDisable(v int8)
- func (do *UsersDO) SetEmail(v string)
- func (do *UsersDO) SetId(v int32)
- func (do *UsersDO) SetName(v string)
- func (do *UsersDO) SetPhone(v string)
- func (do *UsersDO) SetSex(v int8)
- func (m *UsersDO) Size() (n int)
- func (m *UsersDO) String() string
- func (m *UsersDO) Unmarshal(dAtA []byte) error
- func (m *UsersDO) XXX_DiscardUnknown()
- func (m *UsersDO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UsersDO) XXX_Merge(src proto.Message)
- func (m *UsersDO) XXX_Size() int
- func (m *UsersDO) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthClassesDo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClassesDo = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupClassesDo = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthUsersDo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUsersDo = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupUsersDo = fmt.Errorf("proto: unexpected end of group") )
View Source
var TableNameClasses = "classes" //
View Source
var TableNameUsers = "users" //
Functions ¶
This section is empty.
Types ¶
type ClassesDO ¶
type ClassesDO struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ClassNo string `protobuf:"bytes,2,opt,name=class_no,json=classNo,proto3" json:"class_no,omitempty"` UserId int32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClassesDO) Descriptor ¶ added in v1.1.13
func (*ClassesDO) GetClassNo ¶
func (*ClassesDO) GetCreatedAt ¶
func (*ClassesDO) GetUpdatedAt ¶
func (*ClassesDO) MarshalToSizedBuffer ¶ added in v1.1.13
func (*ClassesDO) ProtoMessage ¶ added in v1.1.13
func (*ClassesDO) ProtoMessage()
func (*ClassesDO) SetClassNo ¶
func (do *ClassesDO) SetClassNo(v string)
func (*ClassesDO) XXX_DiscardUnknown ¶ added in v1.1.13
func (m *ClassesDO) XXX_DiscardUnknown()
func (*ClassesDO) XXX_Marshal ¶ added in v1.1.13
func (*ClassesDO) XXX_Unmarshal ¶ added in v1.1.13
type UsersDO ¶
type UsersDO struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` Sex int32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Disable int32 `protobuf:"varint,6,opt,name=disable,proto3" json:"disable,omitempty"` Balance float64 `protobuf:"fixed64,7,opt,name=balance,proto3" json:"balance,omitempty"` CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UsersDO) Descriptor ¶ added in v1.1.13
func (*UsersDO) GetBalance ¶
func (*UsersDO) GetCreatedAt ¶
func (*UsersDO) GetDisable ¶
func (*UsersDO) GetUpdatedAt ¶
func (*UsersDO) MarshalToSizedBuffer ¶ added in v1.1.13
func (*UsersDO) ProtoMessage ¶ added in v1.1.13
func (*UsersDO) ProtoMessage()
func (*UsersDO) SetBalance ¶
func (do *UsersDO) SetBalance(v float64)
func (*UsersDO) SetDisable ¶
func (do *UsersDO) SetDisable(v int8)
func (*UsersDO) XXX_DiscardUnknown ¶ added in v1.1.13
func (m *UsersDO) XXX_DiscardUnknown()
func (*UsersDO) XXX_Marshal ¶ added in v1.1.13
func (*UsersDO) XXX_Unmarshal ¶ added in v1.1.13
Click to show internal directories.
Click to hide internal directories.