services

package
v0.0.0-...-7980018 Latest Latest
Warning

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

Go to latest
Published: Aug 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 EventService

type EventService struct {
	// contains filtered or unexported fields
}

func NewEventService

func NewEventService(eventRepository repositories.EventRepository) *EventService

func (*EventService) AddParticipant

func (s *EventService) AddParticipant(participantRequest dtos.ParticipantDTO) (models.Event, error)

func (*EventService) CreateEvent

func (s *EventService) CreateEvent(eventRequest dtos.EventDTO) (models.Event, error)

func (*EventService) FindAllEvents

func (s *EventService) FindAllEvents() ([]models.Event, error)

Jump to

Keyboard shortcuts

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