package
Version:
v0.0.0-...-91e90d9
Opens a new window with list of versions in this module.
Published: Jul 27, 2017
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 8
Opens a new window with list of known importers.
Documentation
¶
type Gpa struct {
Value string `json:"gpa"`
Cycle string `json:"cycle"`
}
Gpa represents the gpa data
type ProfileData struct {
Gpa []Gpa `json:"gpa"`
}
ProfileData represents the json get on profile
type Student struct {
Name string `json:"title"`
Login string `json:"login"`
Bachelor float64 `json:"bachelor"`
Master float64 `json:"master"`
City string `json:"city"`
Promotion string `json:"promotion"`
Position int `json:"-"`
}
Student represents the user struct
GpaToShow returns which gpa we must show for webpage
type Yearbook struct {
TotalStudents int `json:"total"`
Students []Student `json:"items"`
}
Yearbook represent data returned from yearbook requests
Source Files
¶
Click to show internal directories.
Click to hide internal directories.