Documentation
¶
Overview ¶
Package user is a generated protocol buffer package.
It is generated from these files:
profile_photo_ids.proto
It has these top-level messages:
ProfilePhotoIds
Index ¶
- func InitUserModel(dbName string) (*userModel, error)
- type ProfilePhotoIds
- func (m *ProfilePhotoIds) AddPhotoId(id int64)
- func (*ProfilePhotoIds) Descriptor() ([]byte, []int)
- func (m *ProfilePhotoIds) GetDefault() int64
- func (m *ProfilePhotoIds) GetIdList() []int64
- func (*ProfilePhotoIds) ProtoMessage()
- func (m *ProfilePhotoIds) RemovePhotoId(id int64) int64
- func (m *ProfilePhotoIds) Reset()
- func (m *ProfilePhotoIds) String() string
- func (m *ProfilePhotoIds) ToJson() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitUserModel ¶
Types ¶
type ProfilePhotoIds ¶
type ProfilePhotoIds struct { Default int64 `protobuf:"varint,1,opt,name=default" json:"default,omitempty"` IdList []int64 `protobuf:"varint,2,rep,packed,name=id_list,json=idList" json:"id_list,omitempty"` }
func MakeProfilePhotoData ¶
func MakeProfilePhotoData(jsonData string) *ProfilePhotoIds
func (*ProfilePhotoIds) AddPhotoId ¶
func (m *ProfilePhotoIds) AddPhotoId(id int64)
func (*ProfilePhotoIds) Descriptor ¶
func (*ProfilePhotoIds) Descriptor() ([]byte, []int)
func (*ProfilePhotoIds) GetDefault ¶
func (m *ProfilePhotoIds) GetDefault() int64
func (*ProfilePhotoIds) GetIdList ¶
func (m *ProfilePhotoIds) GetIdList() []int64
func (*ProfilePhotoIds) ProtoMessage ¶
func (*ProfilePhotoIds) ProtoMessage()
func (*ProfilePhotoIds) RemovePhotoId ¶
func (m *ProfilePhotoIds) RemovePhotoId(id int64) int64
func (*ProfilePhotoIds) Reset ¶
func (m *ProfilePhotoIds) Reset()
func (*ProfilePhotoIds) String ¶
func (m *ProfilePhotoIds) String() string
func (*ProfilePhotoIds) ToJson ¶
func (m *ProfilePhotoIds) ToJson() string
Click to show internal directories.
Click to hide internal directories.