Documentation ¶
Index ¶
Constants ¶
View Source
const ( PENDING status = "PENDING" PROCESSED status = "PROCESSED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct { SteamID string `json:"steam_id" db:"steam_id"` NumGamesOwned int `json:"num_games_owned" db:"num_games_owned"` NumReviews int `json:"num_reviews" db:"num_reviews"` PlaytimeForever int `json:"playtime_forever" db:"playtime_forever"` PlaytimeLastTwoWeeks int `json:"playtime_last_two_weeks" db:"playtime_last_two_weeks"` PlaytimeAtReview int `json:"playtime_at_review" db:"playtime_at_review"` LastPlayed int `json:"last_played" db:"last_played"` }
type GameDetails ¶
type GameDetails struct { ID int `json:"-" db:"id"` AppID int `json:"app_id" db:"app_id"` Name string `json:"name" db:"name"` Description string `json:"description" db:"description"` FullGame `json:"fullgame"` Type string `json:"type" db:"type"` Publishers LanguageArray `json:"publishers" db:"publishers"` Developers LanguageArray `json:"developers" db:"developers"` IsFree bool `json:"is_free" db:"is_free"` SupportLanguages `json:"support_languages"` Platforms `json:"platforms"` Genre []Genre `json:"genre"` ReleaseDate `json:"release_date"` Price `json:"price"` GenreID string `json:"-" db:"genre_id"` TypeGenre string `json:"-" db:"type_genre"` }
type LanguageArray ¶
type LanguageArray []string
func (*LanguageArray) Scan ¶
func (l *LanguageArray) Scan(src interface{}) error
type Price ¶
type Price struct { Currency string `json:"currency" db:"currency"` InitialPrice int64 `json:"initial_price" db:"initial_price"` FinalPrice int64 `json:"final_price" db:"final_price"` DiscountPercent int `json:"discount_percent" db:"discount_percent"` FormattedInitialPrice string `json:"formatted_initial_price" db:"formatted_initial_price"` FormattedFinalPrice string `json:"formatted_final_price" db:"formatted_final_price"` }
type ReleaseDate ¶
type ReviewDB ¶
type ReviewDB struct { ID int `json:"-" db:"id"` AppID int `json:"app_id" db:"app_id"` ReviewType string `json:"review_type" db:"review_type"` RecommendationID int `json:"recommendation_id" db:"recommendation_id"` Author `json:"author"` Language string `json:"language" db:"language"` ReviewText string `json:"review_text" db:"review_text"` TimestampCreated int `json:"timestamp_created" db:"timestamp_created"` TimestampUpdated int `json:"timestamp_updated" db:"timestamp_updated"` VotedUp bool `json:"voted_up" db:"voted_up"` VotesUp int `json:"votes_up" db:"votes_up"` VotesFunny int `json:"votes_funny" db:"votes_funny"` CommentCount int `json:"comment_count" db:"comment_count"` SteamPurchase bool `json:"steam_purchase" db:"steam_purchase"` ReceivedForFree bool `json:"received_for_free" db:"received_for_free"` WrittenDuringEarlyAccess bool `json:"written_during_early_access" db:"written_during_early_access"` }
type SupportLanguages ¶
type SupportLanguages struct { InterfaceLanguages LanguageArray `json:"interface_languages" db:"interface_languages"` FullAudioLanguages LanguageArray `json:"fullaudio_languages" db:"fullaudio_languages"` SubtitlesLanguages LanguageArray `json:"subtitles_languages" db:"subtitles_languages"` }
Click to show internal directories.
Click to hide internal directories.