db

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertNewItemManual

func InsertNewItemManual(db *sql.DB, itemName string, date string, price int, currency string, vendor string, div string, imgFileName string, hash string) error

func ItemExists

func ItemExists(db *sql.DB, itemName string, date string, vendor string) (bool, error)

Checks if an item is already in the database.

func StoreAliexpress

func StoreAliexpress(db *sql.DB, order *structs.Aliexpress)

func StoreAlternate

func StoreAlternate(db *sql.DB, order *structs.Alternate)

func StoreEbay

func StoreEbay(db *sql.DB, order *structs.Ebay)

func UpdateImage

func UpdateImage(db *sql.DB, fileName string, sha2 string, id int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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