database

package module
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package database implements the functions, types, and interfaces for the module.

Package database implements the functions, types, and interfaces for the module.

Package database is the database client wrapper

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(database *configv1.Data_Database) (*sql.DB, error)

Types

type EveryOne

type EveryOne struct{}

EveryOne ...

type ExecFunc added in v0.0.26

type ExecFunc = func(context.Context) error

ExecFunc is a function that can be executed within a transaction

type Trans added in v0.0.26

type Trans database.Trans

Trans is a transaction interface

type Tx added in v0.0.26

type Tx = driver.Tx

Tx is a transaction aliased to driver.Tx

type TxFunc added in v0.0.26

type TxFunc = func(tx Tx) error

TxFunc is a function that can be executed within a transaction

Directories

Path Synopsis
internal
sqlite
Package sqlite implements the functions, types, and interfaces for the module.
Package sqlite implements the functions, types, and interfaces for the module.

Jump to

Keyboard shortcuts

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