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" 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" )
View Source
const ( SearchNew = "New" SearchOwned = "Own" SearchWishlist = "Wish" SearchSale = "Sale" SearchGOG = "GOG" SearchAll = "All" )
View Source
const ( PropertiesSection = "properties" ExternalLinksSection = "external-links" DescriptionSection = "description" ChangelogSection = "changelog" ScreenshotsSection = "screenshots" VideosSection = "videos" SteamNewsSection = "steam-news" SteamReviewsSection = "steam-reviews" 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.WishlistedProperty, vangogh_integration.OwnedProperty, vangogh_integration.IsFreeProperty, vangogh_integration.IsDiscountedProperty, vangogh_integration.PreOrderProperty, vangogh_integration.ComingSoonProperty, vangogh_integration.InDevelopmentProperty, vangogh_integration.DescendingProperty, }
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.LanguageCodeProperty, vangogh_integration.ProductTypeProperty, vangogh_integration.TypesProperty, 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.WishlistedProperty, }
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.WishlistedProperty: "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.WishlistedProperty, vangogh_integration.PriceProperty, vangogh_integration.OperatingSystemsProperty, vangogh_integration.HLTBPlatformsProperty, vangogh_integration.RatingProperty, vangogh_integration.SteamReviewScoreDescProperty, vangogh_integration.HLTBReviewScoreProperty, vangogh_integration.AggregatedRatingProperty, vangogh_integration.SteamDeckAppCompatibilityCategoryProperty, vangogh_integration.ProtonDBTierProperty, vangogh_integration.ProtonDBConfidenceProperty, 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.FeaturesProperty, vangogh_integration.GameModesProperty, vangogh_integration.LanguageCodeProperty, vangogh_integration.GlobalReleaseDateProperty, vangogh_integration.GOGReleaseDateProperty, vangogh_integration.GOGOrderDateProperty, vangogh_integration.IncludesGamesProperty, vangogh_integration.IsIncludedByGamesProperty, vangogh_integration.RequiresGamesProperty, vangogh_integration.IsRequiredByGamesProperty, vangogh_integration.HLTBHoursToCompleteMainProperty, vangogh_integration.HLTBHoursToCompletePlusProperty, vangogh_integration.HLTBHoursToComplete100Property, }
View Source
var ProductsProperties = []string{ vangogh_integration.TitleProperty, vangogh_integration.DehydratedVerticalImageProperty, vangogh_integration.VerticalImageProperty, vangogh_integration.OwnedProperty, vangogh_integration.ProductTypeProperty, vangogh_integration.WishlistedProperty, vangogh_integration.ComingSoonProperty, vangogh_integration.PreOrderProperty, vangogh_integration.InDevelopmentProperty, vangogh_integration.TagIdProperty, vangogh_integration.LocalTagsProperty, vangogh_integration.IsFreeProperty, vangogh_integration.IsDiscountedProperty, vangogh_integration.DiscountPercentageProperty, vangogh_integration.OperatingSystemsProperty, vangogh_integration.DevelopersProperty, vangogh_integration.PublishersProperty, }
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.IncludesGamesProperty: "Includes", vangogh_integration.IsIncludedByGamesProperty: "Included By", vangogh_integration.RequiresGamesProperty: "Requires", vangogh_integration.IsRequiredByGamesProperty: "Required By", vangogh_integration.ProductTypeProperty: "Product Type", vangogh_integration.WishlistedProperty: "Wishlisted", vangogh_integration.OwnedProperty: "Owned", vangogh_integration.IsFreeProperty: "Free", 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: "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 Review Score", GauginGOGLinksProperty: "GOG.com Links", GauginOtherLinksProperty: "Other Links", GauginSteamLinksProperty: "Steam Links", vangogh_integration.ForumUrlProperty: "Forum", vangogh_integration.StoreUrlProperty: "Store", vangogh_integration.SupportUrlProperty: "Support", GauginSteamCommunityUrlProperty: "Community", GauginGOGDBUrlProperty: "GOGDB", GauginIGDBUrlProperty: "IGDB", GauginHLTBUrlProperty: "HLTB", GauginMobyGamesUrlProperty: "MobyGames", GauginPCGamingWikiUrlProperty: "PCGamingWiki", GauginProtonDBUrlProperty: "ProtonDB", GauginStrategyWikiUrlProperty: "StrategyWiki", GauginWikipediaUrlProperty: "Wikipedia", GauginWineHQUrlProperty: "WineHQ", GauginVNDBUrlProperty: "VNDB", GauginIGNWikiUrlProperty: "IGN Wiki", }
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.IncludesGamesProperty, vangogh_integration.IsIncludedByGamesProperty, vangogh_integration.RequiresGamesProperty, vangogh_integration.IsRequiredByGamesProperty, vangogh_integration.ProductTypeProperty, vangogh_integration.WishlistedProperty, vangogh_integration.OwnedProperty, vangogh_integration.IsFreeProperty, vangogh_integration.IsDiscountedProperty, vangogh_integration.PreOrderProperty, vangogh_integration.ComingSoonProperty, vangogh_integration.InDevelopmentProperty, vangogh_integration.TypesProperty, 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{
PropertiesSection: "properties.css",
ExternalLinksSection: "external-links.css",
DescriptionSection: "description.css",
ScreenshotsSection: "screenshots.css",
VideosSection: "",
ChangelogSection: "changelog.css",
SteamNewsSection: "steam-news.css",
SteamReviewsSection: "steam-reviews.css",
SteamDeckSection: "steam-deck.css",
InstallersSection: "downloads.css",
}
View Source
var SectionTitles = map[string]string{ ChangelogSection: "Changelog", DescriptionSection: "Description", InstallersSection: "Installers", ExternalLinksSection: "External Links", PropertiesSection: "Properties", ScreenshotsSection: "Screenshots", SteamNewsSection: "Steam News", SteamReviewsSection: "Steam Reviews", SteamDeckSection: "Steam Deck", VideosSection: "Videos", }
View Source
var SteamNewsTags = map[string]string{
"halloween": "Halloween",
"workshop": "Workshop",
"patchnotes": "Patch",
}
View Source
var TypesTitles = map[string]string{ vangogh_integration.AccountProducts.String(): "Account Products", vangogh_integration.ApiProductsV1.String(): "API Products v1", vangogh_integration.ApiProductsV2.String(): "API Products v2", vangogh_integration.CatalogProducts.String(): "Catalog Products", vangogh_integration.Details.String(): "Details", vangogh_integration.HLTBData.String(): "HowLongToBeat Data", vangogh_integration.HLTBRootPage.String(): "HowLongToBeat Root Page", vangogh_integration.LicenceProducts.String(): "Licence Products", vangogh_integration.Orders.String(): "Orders", vangogh_integration.PCGWEngine.String(): "PCGamingWiki Engine", vangogh_integration.PCGWExternalLinks.String(): "PCGamingWiki External Links", vangogh_integration.PCGWPageId.String(): "PCGamingWiki PageId", vangogh_integration.SteamAppNews.String(): "Steam App News", vangogh_integration.SteamReviews.String(): "Steam Reviews", vangogh_integration.ProtonDBSummary.String(): "ProtonDB Summary", vangogh_integration.UserWishlistProducts.String(): "User Wishlist Products", 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
¶
- app_nav.go
- count_templates.go
- digest_properties.go
- gaugin_properties.go
- labels.go
- language_flags.go
- operating_systems_symbols.go
- os_order.go
- product_properties.go
- products_properties.go
- property_titles.go
- search_properties.go
- search_scopes.go
- section_styles.go
- section_titles.go
- steam_news.go
- values_titles.go
Click to show internal directories.
Click to hide internal directories.