store

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(cfg Config) (*bun.DB, error)

Types

type Config

type Config struct {
	Driver Driver
	DSN    string
}

type Driver

type Driver string
const (
	DriverPostgres Driver = sqlschema.Postgres
	DriverMySQL    Driver = sqlschema.MySQL
	DriverSQLite   Driver = sqlschema.SQLite
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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