Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRecordNotFound = errors.New("record not found")
Functions ¶
func ValidateEvent ¶
Types ¶
type CalendarRepository ¶
type CalendarRepository interface { CreateEvent(ctx context.Context, event *Event) error ListEvent(ctx context.Context, userId uint64) ([]Event, error) DeleteEvent(ctx context.Context, eventId string, userId uint64) error ServiceStatus(ctx context.Context) error }
func NewCalendarRepository ¶
func NewCalendarRepository(conn db.Connection) CalendarRepository
Click to show internal directories.
Click to hide internal directories.