port

package
v0.0.0-...-df736e3 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventRepo

type EventRepo interface {
	CreateEvent(context.Context, *domain.Event) (*domain.Event, error)
	GetEventByID(context.Context, int64) (*domain.Event, error)
	UpdateEvent(context.Context, *domain.Event, int64) error
	DeleteEvent(context.Context, int64) error
	GetAllEvents(context.Context) ([]*domain.Event, error)
}

type EventService

type EventService interface {
	CreateEvent(context.Context, *domain.Event) (*domain.Event, error)
	GetAllEvents(context.Context) ([]*domain.Event, error)
	GetOverlappingEvents(context.Context) ([][]*domain.Event, error)
}

Jump to

Keyboard shortcuts

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