Documentation ¶
Index ¶
- Constants
- func AllUnusableApps() ([]steam.App, error)
- func AllUsableApps() ([]steam.App, error)
- func GetName(appId int) (name string, err error)
- func MarkAppAsUnusable(appId int) error
- func MarkAppAsUsable(appId int) error
- func OpenMetadataDB() (*sql.DB, error)
- func SaveMetadata(apps []steam.App) error
- func Search(query string) (apps []steam.App, err error)
Constants ¶
View Source
const ( MetadataDBLocation = "data" MetadataDBName = "metadata.db" // Name of the database with metadata about apps )
Variables ¶
This section is empty.
Functions ¶
func AllUnusableApps ¶
AllUnusableApps returns a slice with all unusable applications.
func AllUsableApps ¶
AllUsableApps returns a slice with all usable applications.
func MarkAppAsUnusable ¶
MarkAppAsUnusable marks application as unusable.
func MarkAppAsUsable ¶
MarkAppAsUsable marks application as usable.
func OpenMetadataDB ¶
OpenMetadataDB opens database with metadata about all apps and, if successful, returns a reference to it.
func SaveMetadata ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.