Documentation ¶
Overview ¶
Copyright (C) 2019 - 2022 MWSOFT This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright (C) 2019 - 2022 MWSOFT This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfilePicture ¶
type ProfilePicture struct { SuperheroID string `json:"superhero_id"` URL string `json:"url"` Position int64 `json:"position"` CreatedAt string `json:"created_at"` }
ProfilePicture holds profile picture data.
type Superhero ¶
type Superhero struct { ID string `json:"superhero_id"` Email string `json:"email"` Name string `json:"name"` SuperheroName string `json:"superhero_name"` MainProfilePicURL string `json:"main_profile_pic_url"` ProfilePictures []ProfilePicture `json:"profile_pics"` Gender int `json:"gender"` LookingForGender int `json:"looking_for_gender"` Age int `json:"age"` LookingForAgeMin int `json:"looking_for_age_min"` LookingForAgeMax int `json:"looking_for_age_max"` LookingForDistanceMax int `json:"looking_for_distance_max"` DistanceUnit string `json:"distance_unit"` Location elastic.GeoPoint `json:"location"` Birthday string `json:"birthday"` Country string `json:"country"` City string `json:"city"` SuperPower string `json:"superpower"` AccountType string `json:"account_type"` IsDeleted bool `json:"is_deleted"` DeletedAt *string `json:"deleted_at"` IsBlocked bool `json:"is_blocked"` BlockedAt *string `json:"blocked_at"` UpdatedAt string `json:"updated_at"` CreatedAt string `json:"created_at"` }