queries

package
v0.0.0-...-0aa8bca Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource interface {
	FetchSupplierByID(ctx context.Context, id string) (*models.Supplier, error)
	StartTransaction(ctx context.Context) (*sqlx.Tx, error)
}

func NewQuery

func NewQuery(db *database.Store) Resource

Jump to

Keyboard shortcuts

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