app

package
v0.0.0-...-9ec1373 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDepartment

func CreateDepartment(c *gin.Context)

func CreateStudent

func CreateStudent(context *gin.Context)

func DeleteDepartment

func DeleteDepartment(c *gin.Context)

func DeleteStudent

func DeleteStudent(context *gin.Context)

func FetchAllDepartments

func FetchAllDepartments(c *gin.Context)

func FetchAllStudents

func FetchAllStudents(context *gin.Context)

func FetchSingleDepartment

func FetchSingleDepartment(c *gin.Context)

func FetchSingleStudent

func FetchSingleStudent(context *gin.Context)

func UpdateDeprtment

func UpdateDeprtment(c *gin.Context)

func UpdateStudent

func UpdateStudent(context *gin.Context)

Types

type Department

type Department struct {
	Id           sql.NullInt64
	Name         sql.NullString
	Create_date  time.Time
	Last_updated time.Time
}

type Student

type Student struct {
	Id              sql.NullInt64
	Number          sql.NullString
	Name            sql.NullString
	Department_id   sql.NullInt64
	Department_name sql.NullString
	Create_date     time.Time
	Last_updated    time.Time
}

Jump to

Keyboard shortcuts

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