repository

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAppointmentRepositoryRead

type IAppointmentRepositoryRead interface {
	GetByID(ctx context.Context, id int64) (domain.Appointment, error)
	GetByAppointmentNumber(ctx context.Context, appointment_number string) (domain.Appointment, error)
	GetHistoryByAccountID(ctx context.Context) (domain.Appointment, error)
}

type IAppointmentRepositoryWrite

type IAppointmentRepositoryWrite interface {
	Update(ctx context.Context, ar *domain.Appointment) error
	Store(context.Context, *domain.Appointment) error
	Delete(ctx context.Context, appointment_number string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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