Documentation
¶
Index ¶
Constants ¶
View Source
const ( )
View Source
const ( SingleItemTemplate = "1 item" ManyItemsSinglePageTemplate = "{total} items" ManyItemsManyPagesTemplate = "{from}-{to} out of {total} items" )
View Source
const ( GauginGOGLinksProperty = "gog-links" GauginSteamLinksProperty = "steam-links" GauginOtherLinksProperty = "other-links" GauginSteamCommunityUrlProperty = "steam-community-url" GauginSteamGuidesUrlProperty = "steam-guides-url" GauginPCGamingWikiUrlProperty = "pcgamingwiki-url" GauginGOGDBUrlProperty = "gogdb-url" GauginProtonDBUrlProperty = "protondb-url" GauginHltbUrlProperty = "hltb-url" GauginIGDBUrlProperty = "igdb-url" GauginStrategyWikiUrlProperty = "strategy-wiki-url" GauginMobyGamesUrlProperty = "moby-games-url" GauginWikipediaUrlProperty = "wikipedia-url" GauginWineHQUrlProperty = "winehq-url" GauginVNDBUrlProperty = "vndb-url" GauginIGNWikiUrlProperty = "ign-wiki-url" GauginOpenCriticUrlProperty = "opencritic-url" GauginWebsiteUrlProperty = "website" )
View Source
const ( SearchNew = "New" SearchOwned = "Own" SearchWishlist = "Wish" SearchSale = "Sale" SearchGOG = "GOG" SearchAll = "All" )
View Source
const ( ProductDetailsSection = "product-details" RelatedProductsSection = "related-products" ExternalLinksSection = "external-links" DescriptionSection = "description" ChangelogSection = "changelog" ScreenshotsSection = "screenshots" VideosSection = "videos" SteamNewsSection = "steam-news" ReceptionSection = "reception" SteamDeckSection = "steam-deck" InstallersSection = "installers" )
View Source
const ( FeedTypeCommunityAnnouncement = 1 FeedTypeOther = 0 )
Variables ¶
View Source
AppNavUpdates: "/updates", AppNavSearch: "/search", }
View Source
var BinaryDigestProperties = []string{ vangogh_integration.UserWishlistProperty, vangogh_integration.OwnedProperty, vangogh_integration.IsFreeProperty, vangogh_integration.IsDiscountedProperty, vangogh_integration.PreOrderProperty, vangogh_integration.ComingSoonProperty, vangogh_integration.InDevelopmentProperty, vangogh_integration.DescendingProperty, vangogh_integration.IsDemoProperty, }
View Source
var BinaryTitles = map[string]string{ vangogh_integration.TrueValue: "Yes", vangogh_integration.FalseValue: "No", }
View Source
var DigestProperties = []string{ vangogh_integration.TagIdProperty, vangogh_integration.LocalTagsProperty, vangogh_integration.SteamDeckAppCompatibilityCategoryProperty, vangogh_integration.OperatingSystemsProperty, vangogh_integration.HltbPlatformsProperty, vangogh_integration.GenresProperty, vangogh_integration.ThemesProperty, vangogh_integration.HltbGenresProperty, vangogh_integration.StoreTagsProperty, vangogh_integration.ProtonDBTierProperty, vangogh_integration.ProtonDBConfidenceProperty, vangogh_integration.FeaturesProperty, vangogh_integration.GameModesProperty, vangogh_integration.LanguageCodeProperty, vangogh_integration.ProductTypeProperty, vangogh_integration.TypesProperty, vangogh_integration.SummaryReviewsProperty, vangogh_integration.SteamReviewScoreDescProperty, vangogh_integration.ProductValidationResultProperty, vangogh_integration.SortProperty, }
View Source
var LabelProperties = []string{ vangogh_integration.StoreTagsProperty, vangogh_integration.OwnedProperty, vangogh_integration.ProductTypeProperty, vangogh_integration.ComingSoonProperty, vangogh_integration.PreOrderProperty, vangogh_integration.InDevelopmentProperty, vangogh_integration.IsFreeProperty, vangogh_integration.DiscountPercentageProperty, vangogh_integration.TagIdProperty, vangogh_integration.LocalTagsProperty, vangogh_integration.IsDemoProperty, vangogh_integration.UserWishlistProperty, }
View Source
var LabelTitles = map[string]string{ vangogh_integration.OwnedProperty: "Own", vangogh_integration.ComingSoonProperty: "Soon", vangogh_integration.PreOrderProperty: "PO", vangogh_integration.InDevelopmentProperty: "In Dev", vangogh_integration.IsFreeProperty: "Free", vangogh_integration.IsDemoProperty: "Demo", vangogh_integration.UserWishlistProperty: "Wish", }
View Source
var LanguageFlags = map[string]string{
"en": "🇺🇸",
"de": "🇩🇪",
"fr": "🇫🇷",
"es": "🇪🇸",
"ru": "🇷🇺",
"it": "🇮🇹",
"cn": "🇨🇳",
"jp": "🇯🇵",
"pl": "🇵🇱",
"br": "🇧🇷",
"ko": "🇰🇷",
"zh": "🇨🇳",
"tr": "🇹🇷",
"cz": "🇨🇿",
"pt": "🇵🇹",
"nl": "🇳🇱",
"es_mx": "🇲🇽",
"hu": "🇭🇺",
"uk": "🇺🇦",
"ar": "🇸🇦",
"sv": "🇸🇪",
"no": "🇳🇴",
"da": "🇩🇰",
"fi": "🇫🇮",
"th": "🇹🇭",
"ro": "🇷🇴",
"gk": "🇬🇷",
"bl": "🇧🇬",
"sk": "🇸🇮",
"be": "🇧🇾",
"he": "🇮🇱",
"sb": "🇷🇸",
"ca": "🇪🇸",
"is": "🇮🇸",
"fa": "🇮🇷",
"et": "🇪🇪",
"id": "🇮🇩",
"vi": "🇻🇳",
}
LanguageFlags contain national flags that correspond to language code. In some cases there is no obvious way to map those, attempting to use sensible option: ar, ca, fa Few options are not possible to map to countries (left as comments below)
View Source
var LanguageTitles = map[string]string{
"en": "English",
"id": "bahasa Indonesia",
"ca": "català",
"cz": "český",
"da": "Dansk",
"de": "Deutsch",
"et": "eesti",
"es": "español",
"es_mx": "Español (AL)",
"fr": "français",
"gog_IN": "Inuktitut",
"is": "Íslenska",
"it": "italiano",
"la": "latine",
"hu": "magyar",
"nl": "nederlands",
"no": "norsk",
"pl": "polski",
"pt": "português",
"br": "Português do Brasil",
"ro": "română",
"sk": "slovenský",
"fi": "suomi",
"sv": "svenska",
"vi": "Tiếng Việt",
"tr": "Türkçe",
"uk": "yкраїнська",
"gk": "Ελληνικά",
"be": "беларуская",
"bl": "български",
"ru": "русский",
"sb": "Српска",
"he": "עברית",
"ar": "العربية",
"fa": "فارسی",
"th": "ไทย",
"ko": "한국어",
"cn": "中文(简体)",
"zh": "中文(繁體)",
"jp": "日本語",
}
View Source
var OSOrder = []vangogh_integration.OperatingSystem{ vangogh_integration.Windows, vangogh_integration.MacOS, vangogh_integration.Linux, vangogh_integration.AnyOperatingSystem, }
View Source
var OperatingSystemSymbols = map[vangogh_integration.OperatingSystem]compton.Symbol{ vangogh_integration.Windows: compton.Windows, vangogh_integration.MacOS: compton.MacOS, vangogh_integration.Linux: compton.Linux, }
View Source
var OperatingSystemTitles = map[string]string{ vangogh_integration.MacOS.String(): "macOS", vangogh_integration.Linux.String(): "Linux", vangogh_integration.Windows.String(): "Windows", }
View Source
var ProductExternalLinksProperties = []string{ GauginGOGLinksProperty, GauginSteamLinksProperty, GauginOtherLinksProperty, }
View Source
var ProductProperties = []string{ vangogh_integration.TagIdProperty, vangogh_integration.LocalTagsProperty, vangogh_integration.UserWishlistProperty, vangogh_integration.OperatingSystemsProperty, vangogh_integration.DevelopersProperty, vangogh_integration.PublishersProperty, vangogh_integration.PriceProperty, vangogh_integration.LanguageCodeProperty, vangogh_integration.SeriesProperty, vangogh_integration.GenresProperty, vangogh_integration.ThemesProperty, vangogh_integration.HltbGenresProperty, vangogh_integration.StoreTagsProperty, vangogh_integration.FeaturesProperty, vangogh_integration.GameModesProperty, vangogh_integration.EnginesProperty, vangogh_integration.EnginesBuildsProperty, vangogh_integration.ProtonDBTierProperty, vangogh_integration.ProtonDBConfidenceProperty, vangogh_integration.HltbPlatformsProperty, vangogh_integration.HltbHoursToCompleteMainProperty, vangogh_integration.HltbHoursToCompletePlusProperty, vangogh_integration.HltbHoursToComplete100Property, vangogh_integration.GlobalReleaseDateProperty, vangogh_integration.GOGReleaseDateProperty, vangogh_integration.GOGOrderDateProperty, }
View Source
var PropertyTitles = map[string]string{ vangogh_integration.TitleProperty: "Title", vangogh_integration.DescriptionOverviewProperty: "Description", vangogh_integration.TagIdProperty: "Account Tags", vangogh_integration.LocalTagsProperty: "Local Tags", vangogh_integration.OperatingSystemsProperty: "OS", vangogh_integration.DevelopersProperty: "Developers", vangogh_integration.PublishersProperty: "Publishers", vangogh_integration.EnginesProperty: "Engine", vangogh_integration.EnginesBuildsProperty: "Engine Build", vangogh_integration.SeriesProperty: "Series", vangogh_integration.GenresProperty: "Genres", vangogh_integration.ThemesProperty: "Themes", vangogh_integration.StoreTagsProperty: "Store Tags", vangogh_integration.FeaturesProperty: "Features", vangogh_integration.GameModesProperty: "Game Modes", vangogh_integration.LanguageCodeProperty: "Language", vangogh_integration.IsIncludedByGamesProperty: "Editions", vangogh_integration.IsRequiredByGamesProperty: "DLCs", vangogh_integration.IncludesGamesProperty: "This Editions Contains", vangogh_integration.RequiresGamesProperty: "This DLC Requires", vangogh_integration.ProductTypeProperty: "Product Type", vangogh_integration.UserWishlistProperty: "Wishlisted", vangogh_integration.OwnedProperty: "Owned", vangogh_integration.IsFreeProperty: "Free", vangogh_integration.IsDemoProperty: "Demo", vangogh_integration.IsDiscountedProperty: "On Sale", vangogh_integration.PreOrderProperty: "Pre-order", vangogh_integration.ComingSoonProperty: "Coming Soon", vangogh_integration.InDevelopmentProperty: "In Development", vangogh_integration.TypesProperty: "Data Type", vangogh_integration.SteamReviewScoreDescProperty: "Steam Reviews", vangogh_integration.SteamDeckAppCompatibilityCategoryProperty: "Steam Deck", vangogh_integration.ProtonDBTierProperty: "ProtonDB Tier", vangogh_integration.ProtonDBConfidenceProperty: "ProtonDB Confidence", vangogh_integration.SortProperty: "Sort", vangogh_integration.DescendingProperty: "Desc", vangogh_integration.GlobalReleaseDateProperty: "Global Release", vangogh_integration.GOGReleaseDateProperty: "GOG.com Release", vangogh_integration.GOGOrderDateProperty: "GOG.com Order", vangogh_integration.ProductValidationResultProperty: "Validation Result", vangogh_integration.RatingProperty: "GOG.com Rating", vangogh_integration.SteamReviewScoreProperty: "Steam Rating", vangogh_integration.MetacriticScoreProperty: "Metacritic Rating", vangogh_integration.AggregatedRatingProperty: "Aggregated Rating", vangogh_integration.PriceProperty: "Price", vangogh_integration.BasePriceProperty: "Base Price", vangogh_integration.DiscountPercentageProperty: "Discount", vangogh_integration.HltbHoursToCompleteMainProperty: "HLTB Main Story", vangogh_integration.HltbHoursToCompletePlusProperty: "HLTB Story + Extras", vangogh_integration.HltbHoursToComplete100Property: "HLTB Completionist", vangogh_integration.HltbGenresProperty: "HLTB Genres", vangogh_integration.HltbPlatformsProperty: "HLTB Platforms", vangogh_integration.HltbReviewScoreProperty: "HLTB Rating", vangogh_integration.SummaryRatingProperty: "Summary Rating", vangogh_integration.SummaryReviewsProperty: "Summary Reviews", GauginGOGLinksProperty: "GOG.com Links", GauginOtherLinksProperty: "Other Links", GauginSteamLinksProperty: "Steam Links", vangogh_integration.ForumUrlProperty: "Forum", vangogh_integration.StoreUrlProperty: "Store", vangogh_integration.SupportUrlProperty: "Support", GauginSteamCommunityUrlProperty: "Community", GauginSteamGuidesUrlProperty: "Guides", GauginGOGDBUrlProperty: "GOGDB", GauginIGDBUrlProperty: "IGDB", GauginHltbUrlProperty: "HLTB", GauginMobyGamesUrlProperty: "MobyGames", GauginPCGamingWikiUrlProperty: "PCGamingWiki", GauginProtonDBUrlProperty: "ProtonDB", GauginStrategyWikiUrlProperty: "StrategyWiki", GauginWikipediaUrlProperty: "Wikipedia", GauginWineHQUrlProperty: "WineHQ", GauginVNDBUrlProperty: "VNDB", GauginIGNWikiUrlProperty: "IGN Wiki", GauginOpenCriticUrlProperty: "OpenCritic", GauginWebsiteUrlProperty: "Website", }
View Source
var RelatedProductsProperties = []string{ vangogh_integration.IncludesGamesProperty, vangogh_integration.RequiresGamesProperty, vangogh_integration.IsIncludedByGamesProperty, vangogh_integration.IsRequiredByGamesProperty, }
View Source
var SearchOrder = []string{ SearchNew, SearchOwned, SearchWishlist, SearchSale, SearchGOG, SearchAll, }
View Source
var SearchProperties = []string{ vangogh_integration.TitleProperty, vangogh_integration.DescriptionOverviewProperty, vangogh_integration.LocalTagsProperty, vangogh_integration.TagIdProperty, vangogh_integration.OperatingSystemsProperty, vangogh_integration.HltbPlatformsProperty, vangogh_integration.DevelopersProperty, vangogh_integration.PublishersProperty, vangogh_integration.EnginesProperty, vangogh_integration.EnginesBuildsProperty, vangogh_integration.SeriesProperty, vangogh_integration.GenresProperty, vangogh_integration.ThemesProperty, vangogh_integration.HltbGenresProperty, vangogh_integration.StoreTagsProperty, vangogh_integration.SteamDeckAppCompatibilityCategoryProperty, vangogh_integration.ProtonDBTierProperty, vangogh_integration.ProtonDBConfidenceProperty, vangogh_integration.FeaturesProperty, vangogh_integration.GameModesProperty, vangogh_integration.LanguageCodeProperty, vangogh_integration.ProductTypeProperty, vangogh_integration.OwnedProperty, vangogh_integration.UserWishlistProperty, vangogh_integration.IsFreeProperty, vangogh_integration.IsDemoProperty, vangogh_integration.IsDiscountedProperty, vangogh_integration.PreOrderProperty, vangogh_integration.ComingSoonProperty, vangogh_integration.InDevelopmentProperty, vangogh_integration.TypesProperty, vangogh_integration.SummaryReviewsProperty, vangogh_integration.SteamReviewScoreDescProperty, vangogh_integration.GOGReleaseDateProperty, vangogh_integration.GlobalReleaseDateProperty, vangogh_integration.GOGOrderDateProperty, vangogh_integration.ProductValidationResultProperty, vangogh_integration.SortProperty, vangogh_integration.DescendingProperty, }
View Source
var SectionStyles = map[string]string{
ProductDetailsSection: "properties.css",
RelatedProductsSection: "related-products.css",
ExternalLinksSection: "external-links.css",
DescriptionSection: "description.css",
ScreenshotsSection: "screenshots.css",
VideosSection: "",
ChangelogSection: "changelog.css",
SteamNewsSection: "steam-news.css",
ReceptionSection: "ratings-reviews.css",
SteamDeckSection: "steam-deck.css",
InstallersSection: "downloads.css",
}
View Source
var SectionTitles = map[string]string{ ProductDetailsSection: "Product Details", RelatedProductsSection: "Editions and DLCs", ExternalLinksSection: "External Links", DescriptionSection: "Description", ChangelogSection: "Changelog", ScreenshotsSection: "Screenshots", VideosSection: "Videos", SteamNewsSection: "Steam News", ReceptionSection: "Reception", SteamDeckSection: "Steam Deck", InstallersSection: "Installers", }
View Source
var SteamNewsTags = map[string]string{
"halloween": "Halloween",
"workshop": "Workshop",
"patchnotes": "Patch",
}
View Source
var TypesTitles = map[string]string{ vangogh_integration.Licences.String(): "Licences", vangogh_integration.UserWishlist.String(): "User Wishlist", vangogh_integration.AccountPage.String(): "Account Page", vangogh_integration.ApiProducts.String(): "API Products", vangogh_integration.CatalogPage.String(): "Catalog Page", vangogh_integration.Details.String(): "Details", vangogh_integration.HltbData.String(): "HowLongToBeat Data", vangogh_integration.HltbRootPage.String(): "HowLongToBeat Root Page", vangogh_integration.OrderPage.String(): "Order Page", vangogh_integration.PcgwEngine.String(): "PCGamingWiki Engine", vangogh_integration.PcgwExternalLinks.String(): "PCGamingWiki External Links", vangogh_integration.PcgwSteamPageId.String(): "PCGamingWiki Steam PageId", vangogh_integration.PcgwGogPageId.String(): "PCGamingWiki GOG PageId", vangogh_integration.SteamAppDetails.String(): "Steam App Details", vangogh_integration.SteamAppNews.String(): "Steam App News", vangogh_integration.SteamAppReviews.String(): "Steam Reviews", vangogh_integration.ProtonDbSummary.String(): "ProtonDB Summary", vangogh_integration.GamesDbGogProducts.String(): "GamesDB GOG Products", vangogh_integration.SteamDeckCompatibilityReport.String(): "Steam Deck Compat Report", }
Functions ¶
func EncodeQuery ¶
func FormatLanguage ¶
func LanguageCodeFlag ¶
func LanguageCodeTitle ¶
func SearchScopeFromQuery ¶
func SearchScopes ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.