repo

package
v0.0.0-...-ac8a210 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDuplicate    = errors.New("record already exists")
	ErrNotExists    = errors.New("row not exists")
	ErrUpdateFailed = errors.New("update failed")
	ErrDeleteFailed = errors.New("delete failed")
)

Functions

func NewContractRepo

func NewContractRepo(e Env) *contractRepo

func NewFunctionRepo

func NewFunctionRepo(e Env) *functionRepo

func NewTaskRepo

func NewTaskRepo(e Env) *taskRepo

func NewTransactionRepo

func NewTransactionRepo(e Env) *transactionRepo

Types

type Env

type Env interface {
	DbConnection() interfaces.Connection
}

Jump to

Keyboard shortcuts

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