service

package
v0.0.0-...-209e9d0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Student

type Student struct {
	Db *gorm.DB
}

func (Student) Info

func (s Student) Info(studentId int) model.Student

type Teacher

type Teacher struct {
	Db *gorm.DB
}

func (Teacher) Info

func (t Teacher) Info(teacherId int) model.Teacher

func (Teacher) Students

func (t Teacher) Students(teacherId int) []model.Student

Jump to

Keyboard shortcuts

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