db

package
v0.0.0-...-81f846a Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sql.DB

Functions

func BeginTx

func BeginTx() (*sql.Tx, error)

func CampaignExists

func CampaignExists(id int) (bool, error)

func CreatePlaylistCampaignTx

func CreatePlaylistCampaignTx(tx *sql.Tx, pc models.PlaylistCampaign) error

func InitDB

func InitDB() error

func PlaylistExists

func PlaylistExists(id int) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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