Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Profile_GenderType_name = map[int32]profile.Gender{ 0: profile.GenderUnspecified, 1: profile.GenderMale, 2: profile.GenderFemale, } Profile_GenderType_value = map[profile.Gender]int32{ profile.GenderUnspecified: 0, profile.GenderMale: 1, profile.GenderFemale: 2, } )
Functions ¶
func ProfileToPB ¶
func ProfileToPB(profile *ent.Profile) (account_entities.Profile, error)
Types ¶
type ListMetadata ¶
type ListRequest ¶
type ListResp ¶
type ListResp struct { Metadata ListMetadata `json:"metadata"` Results []interface{} `json:"results"` }
Click to show internal directories.
Click to hide internal directories.