storage

package
v0.0.0-...-6bdd1f0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotFound - object not found in DB.
	ErrNotFound = errors.New("not found")

	// ErrConflict - conflicting request (e.g. unique constraint violated)
	ErrConflict = errors.New("conflict")
)

Functions

This section is empty.

Types

type Storage

type Storage interface {
	ConnectAppointmentsRepo() (appointments.Repo, error)
	ConnectTrainersRepo() (trainers.Repo, error)
}

Storage - storage interface.

Jump to

Keyboard shortcuts

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