common

package
v0.0.0-...-57241a5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IUserService

type IUserService interface {
	GetTutors() ([]*tutor.Tutor, error)
}

type UserController

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

func (*UserController) GetTutors

func (uc *UserController) GetTutors(c *gin.Context)

type UserService

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

func NewUserService

func NewUserService(tutorRepo tutor.ITutorRepo, studentRepo student.IStudentRepo) *UserService

func (*UserService) GetTutors

func (us *UserService) GetTutors() ([]*tutor.Tutor, error)

func (*UserService) GetTutorsBySubjectId

func (us *UserService) GetTutorsBySubjectId(subjectId string) ([]*tutor.Tutor, error)

Jump to

Keyboard shortcuts

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