database

package
v2.12.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(dsn string) (*gorm.DB, error)

Connect opens the SQLite database and configures the connection pool.

func CreateDir

func CreateDir(path string) error

CreateDir creates a directory relative to the local path.

Types

type EZContext added in v2.5.0

type EZContext string
const (
	ContextURL EZContext = "ez-backend-url"
)

Jump to

Keyboard shortcuts

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