faculty

package
v0.0.0-...-97f70ea Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFaculty

func GetFaculty(db *sql.DB) (data common.Faculty, err error)

GetFaculty returns the list of faculty members in IITKGP.

func GetFacultyDepartment

func GetFacultyDepartment(db *sql.DB, deptCode string) (common.Faculty, error)

GetFacultyDepartment fetches all the faculty members of a particular department.

func GetTimetable

func GetTimetable(db *sql.DB, facultyMember common.FacultyMember) (*common.Timetable, error)

GetTimetable fetches teh timetable of a given faculty member.

func NewServiceFaculty

func NewServiceFaculty() *serviceFaculty

NewServiceFaculty instantiates a new faculty-service with a real database connection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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