db

package
v0.0.0-...-df1cee3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sqlx.DB

Functions

func GetDB

func GetDB() (*sqlx.DB, error)

func InitDB

func InitDB(db *sqlx.DB) error

func InsertFavItem

func InsertFavItem(f *model.FavItem) error

func LoadDB

func LoadDB() error

func SelectFavItem

func SelectFavItem(bid string) (*model.FavItem, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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