Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpinionGroup ¶
type OpinionGroup struct { GroupName string GroupID int Opinions []OpinionWithRepresentative }
type OpinionWithRepresentative ¶
type OpinionWithRepresentative struct { Opinion User RepresentativeOpinion ReplyCount int }
type RepresentativeOpinion ¶
type SwipeOpinion ¶
type SwipeOpinion struct { Opinion Opinion User User CurrentVoteType int ReplyCount int ParentVoteType int }
func (*SwipeOpinion) GetMyVoteType ¶
func (s *SwipeOpinion) GetMyVoteType() string
func (*SwipeOpinion) GetParentVoteType ¶
func (s *SwipeOpinion) GetParentVoteType() string
type TalkSession ¶
type TalkSessionConclusion ¶
type TalkSessionWithDetail ¶
type TalkSessionWithDetail struct { TalkSession User User OpinionCount int Latitude *float64 Longitude *float64 }
func (*TalkSessionWithDetail) HasLocation ¶
func (t *TalkSessionWithDetail) HasLocation() bool
Latitude, Longitudeはnull, または0の場合はfalseを返す
type UserDemographic ¶
type UserDemographic struct { UserDemographicID uuid.UUID UserID shared.UUID[user.User] YearOfBirth *int Occupation *int Gender *int City *string Prefecture *string HouseholdSize *int }
func (*UserDemographic) GenderString ¶
func (u *UserDemographic) GenderString() *string
func (*UserDemographic) OccupationString ¶
func (u *UserDemographic) OccupationString() string
type UserDetail ¶
type UserDetail struct { User UserAuth *UserDemographic }
Click to show internal directories.
Click to hide internal directories.