Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Student ¶
type Student struct { ID string `json:"id" structs:"id" bson:"_id" db:"id"` Name string `json:"name" structs:"name" bson:"name" db:"name"` Age string `json:"age" structs:"age" bson:"age" db:"age"` Department string `json:"department" structs:"department" bson:"department" db:"department"` Grade int `json:"grade" structs:"grade" bson:"grade" db:"grade"` }
Student holds information for a student
type Teacher ¶
type Teacher struct { ID string `json:"id" structs:"id" bson:"_id" db:"id"` Name string `json:"name" structs:"name" bson:"name" db:"name"` Age string `json:"age" structs:"age" bson:"age" db:"age"` Department string `json:"department" structs:"department" bson:"department" db:"department"` Salary int `json:"salary" structs:"salary" bson:"salary" db:"salary"` }
Teacher holds information for a teacher
Click to show internal directories.
Click to hide internal directories.