db

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DATABASE *sql.DB

DATABASE the global connection for database

Functions

func DeleteImageFormDB

func DeleteImageFormDB(uiid string) error

func GetImageBytes

func GetImageBytes(uiid string) ([]byte, error)

func GetImageDetails

func GetImageDetails(uiid string) (string, []byte, error)

func SETUP_DB

func SETUP_DB()

func StoreImage

func StoreImage(uiid, title string, imageData []byte) error

func UpdateImageData

func UpdateImageData(uiid string, image []byte) error

func UpdateTitle

func UpdateTitle(uiid, title string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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