examschedules

package
v0.0.0-...-cbf5b65 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers interface {
	CreateNewExamSchedules() gin.HandlerFunc
	FindExamSchedules() gin.HandlerFunc
	UpdateExamSchedulesByUsername() gin.HandlerFunc
}

type Repository

type Repository interface {
	Create(ctx context.Context, examSchedules *models.ExamSchedules) (*mongo.InsertOneResult, error)
	Find(ctx context.Context, filter interface{}) ([]*models.ExamSchedules, error)
	FindOne(ctx context.Context, filter interface{}) (*models.ExamSchedules, error)
	FindOneAndUpdate(ctx context.Context, filter interface{}, update interface{}) (*models.ExamSchedules, error)
}

type UseCase

type UseCase interface {
	CreateNewExamSchedules(ctx context.Context, examSchedules *models.ExamSchedules) (*mongo.InsertOneResult, error)
	FindExamSchedules(ctx context.Context) ([]*models.ExamSchedules, error)
	FindExamSchedulesByUsername(ctx context.Context, filter interface{}) (*models.ExamSchedules, error)
	UpdateExamSchedulesByUsername(ctx context.Context, filter interface{}, update bson.M) (*models.ExamSchedules, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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