database

package
v0.0.0-...-e907df4 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminUsername        = "admin"
	AdminEmail           = "[email protected]"
	AdminRole            = "admin"
	AdminName            = "Admin"
	DefaultAdminPassword = "admin"
)

Variables

View Source
var DB *sqlx.DB

Functions

func CloseDB

func CloseDB() error

func GetDB

func GetDB() *sqlx.DB

func InitDB

func InitDB(dbPath 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