database

package
v0.0.0-...-4571e9c Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Health() map[string]string
	Query(query string, args ...interface{}) (*sql.Rows, error)
	Exec(command string, args ...interface{}) (sql.Result, error)
	Begin() (*sql.Tx, error)
	Ping() error
	Close() error
}

func New

func New() Service

Jump to

Keyboard shortcuts

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