database

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTable

func GetTable(m any) string

func GetTableSingular

func GetTableSingular(m any) string

Types

type DB added in v0.7.1

type DB interface {
	sqlx.QueryerContext
	sqlx.ExecerContext
}

type Read added in v0.10.2

type Read func(func(tx *sqlx.Tx) error) error

type Tabler

type Tabler interface {
	Table() string
}

type Update added in v0.10.2

type Update func(func(tx *sqlx.Tx) error) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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