data

package
v0.0.0-...-d0e01af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Blahaj = foxdb.CreateDataCache(

	"blahaj", "0 * * * *", getBlahajData,
)
View Source
var BlahajDatabase = []blahajCountry{

	c("us", "en", "90373590"),
	c("ca", "en", "90373590"),
	c("mx", "es", "90373590"),
	c("cl", "es", "30373588"),

	c("de", "de", "30373588"),
	c("gb", "en", "30373588"),
	c("fr", "fr", "30373588"),
	c("it", "it", "30373588"),
	c("es", "es", "30373588"),
	c("pl", "pl", "30373588"),

	c("ro", "ro", "30373588"),
	c("nl", "nl", "30373588"),
	c("be", "nl", "30373588"),
	c("se", "sv", "30373588"),
	c("cz", "cs", "30373588"),

	c("pt", "pt", "30373588"),
	c("hu", "hu", "30373588"),

	c("at", "de", "30373588"),
	c("ch", "en", "30373588"),
	c("rs", "sr", "30373588"),

	c("dk", "da", "30373588"),
	c("sk", "sk", "30373588"),
	c("fi", "fi", "30373588"),
	c("no", "no", "30373588"),
	c("ie", "en", "30373588"),
	c("hr", "hr", "30373588"),

	c("lt", "lt", "30373588"),
	c("si", "sl", "30373588"),

	c("lv", "lv", "30373588"),
	c("ee", "et", "30373588"),

	c("bh", "ar", "30373588"),

	c("cn", "zh", "10373589"),

	c("in", "en", "10373589"),

	c("il", "he", "30373588"),
	c("jp", "ja", "10373589"),
	c("jo", "ar", "30373588"),

	c("kw", "ar", "30373588"),

	c("my", "ms", "10373589"),

	c("ph", "en", "10373589"),
	c("qa", "ar", "30373588"),
	c("sa", "ar", "30373588"),
	c("sg", "en", "10373589"),
	c("kr", "ko", "10373589"),

	c("th", "th", "10373589"),

	c("ae", "ar", "30373588"),

	c("eg", "ar", "30373588"),
	c("ma", "ar", "30373588"),

	c("au", "en", "10373589"),
	c("nz", "en", "10373589"),
}
View Source
var (
	Database *bun.DB
)
View Source
var GitHubStars = foxdb.CreateDataCache(

	"githubstars", "0 * * * *", getGitHubStars,
)

Functions

func Init

func Init() error

Types

type BlahajData

type BlahajData []BlahajStore

type BlahajStore

type BlahajStore struct {
	Quantity     int    `json:"quantity"`
	Name         string `json:"name"`
	Lat          string `json:"lat"`
	Lng          string `json:"lng"`
	CountryCode  string `json:"countryCode"`
	LanguageCode string `json:"languageCode"`
	ItemCode     string `json:"itemCode"`
}

type IkeaStore

type IkeaStore struct {
	ID   string `json:"id"`
	Name string `json:"displayNameAlternate"`
	Lat  string `json:"lat"`
	Lng  string `json:"lng"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址