Documentation ¶
Index ¶
- type StudentDataRepository
- func (data *StudentDataRepository) CreateStudent(s *model.Student) (id string, err error)
- func (data *StudentDataRepository) DeleteStudent(studentId string) error
- func (data *StudentDataRepository) GetDetailStudent(studentId string) (*model.Student, error)
- func (data *StudentDataRepository) GetListStudent() (listStudent []model.Student)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StudentDataRepository ¶
type StudentDataRepository struct{}
func New ¶
func New() *StudentDataRepository
func (*StudentDataRepository) CreateStudent ¶
func (data *StudentDataRepository) CreateStudent(s *model.Student) (id string, err error)
func (*StudentDataRepository) DeleteStudent ¶
func (data *StudentDataRepository) DeleteStudent(studentId string) error
func (*StudentDataRepository) GetDetailStudent ¶
func (data *StudentDataRepository) GetDetailStudent( studentId string, ) (*model.Student, error)
func (*StudentDataRepository) GetListStudent ¶
func (data *StudentDataRepository) GetListStudent() ( listStudent []model.Student, )
Click to show internal directories.
Click to hide internal directories.