db

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFontsTable

func CreateFontsTable(db *sql.DB)

func CreateInstalledFontsTable

func CreateInstalledFontsTable(db *sql.DB)

func CreateLastCheckedTable

func CreateLastCheckedTable(db *sql.DB)

func CreateVersionTable

func CreateVersionTable(db *sql.DB)

func DeleteFontsTable

func DeleteFontsTable(db *sql.DB)

func DeleteInstalledFont

func DeleteInstalledFont(db *sql.DB, name string)

func FontExists

func FontExists(db *sql.DB, font string) bool

func GetAllFonts

func GetAllFonts(db *sql.DB) []types.Font

func GetInstalledFont

func GetInstalledFont(db *sql.DB, font types.Font) types.Font

func GetInstalledFonts

func GetInstalledFonts(db *sql.DB) []types.Font

func GetLastChecked

func GetLastChecked(db *sql.DB) string

func GetVersion

func GetVersion(db *sql.DB) string

func InsertIntoFonts

func InsertIntoFonts(db *sql.DB, fonts []types.Font)

func InsertIntoInstalledFonts

func InsertIntoInstalledFonts(db *sql.DB, font types.Font, version string)

func InsertIntoVersion

func InsertIntoVersion(db *sql.DB, version string)

func IsFontInstalled

func IsFontInstalled(db *sql.DB, font string) bool

func OpenDB

func OpenDB(path string) *sql.DB

func TableIsEmpty

func TableIsEmpty(db *sql.DB, table string) bool

func UpdateInstalledFont

func UpdateInstalledFont(db *sql.DB, name string, version string)

func UpdateLastChecked

func UpdateLastChecked(db *sql.DB)

Types

This section is empty.

Jump to

Keyboard shortcuts

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