Documentation ¶
Index ¶
- Variables
- func GenClassListUrl() string
- func GenClassUrl(groupId int) string
- func GenStudentExelUrl(internalSchoolId int) string
- func GenTeacherExelUrl(internalSchoolId int) string
- func StudentListSheetHeader() []interface{}
- func TeacherListSheetHeader() []interface{}
- type ClassInfo
- type ClassListProps
- type ClassProps
- type SchoolInfo
- type StudentInfo
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GenClassListUrl ¶
func GenClassListUrl() string
func GenClassUrl ¶
func GenStudentExelUrl ¶
func GenTeacherExelUrl ¶
func StudentListSheetHeader ¶
func StudentListSheetHeader() []interface{}
func TeacherListSheetHeader ¶
func TeacherListSheetHeader() []interface{}
Types ¶
type ClassListProps ¶
type ClassListProps struct { Messages struct { } `json:"messages"` ImagePath struct { Logo string `json:"logo"` GoogleIcon string `json:"googleIcon"` MicrosoftIcon string `json:"microsoftIcon"` AlertIcon string `json:"alertIcon"` BlueFolderIcon string `json:"blueFolderIcon"` NarationIcon string `json:"narationIcon"` PlayIcon string `json:"playIcon"` } `json:"imagePath"` Locale string `json:"locale"` CurrentUser struct { ID int `json:"id"` DisplayName string `json:"displayName"` DisplayUserName string `json:"displayUserName"` IsAdmin bool `json:"isAdmin"` IsDistrictAdmin bool `json:"isDistrictAdmin"` SignInType any `json:"signInType"` School struct { ID int `json:"id"` Name string `json:"name"` Code string `json:"code"` } `json:"school"` } `json:"currentUser"` School struct { ID int `json:"id"` Name string `json:"name"` Timezone string `json:"timezone"` Country string `json:"country"` } `json:"school"` Pagination struct { CurrentPage int `json:"currentPage"` TotalPage int `json:"totalPage"` } `json:"pagination"` DefaultStartDate string `json:"defaultStartDate"` DefaultEndDate string `json:"defaultEndDate"` CandidateStudents []struct { ID int `json:"id"` Name string `json:"name"` } `json:"candidateStudents"` UserGroupsByYear []struct { Year any `json:"year"` UserGroups []struct { ID int `json:"id"` Name string `json:"name"` GradeString string `json:"gradeString"` CodeIsDisabled bool `json:"codeIsDisabled"` Code string `json:"code"` StartAt time.Time `json:"startAt"` FinishAt time.Time `json:"finishAt"` IsDeleted bool `json:"isDeleted"` } `json:"userGroups"` } `json:"userGroupsByYear"` UserGroupsTotal int `json:"userGroupsTotal"` UseReact bool `json:"useReact"` }
type ClassProps ¶
type ClassProps struct { Messages struct{} `json:"messages"` ImagePath struct { Logo string `json:"logo"` GoogleIcon string `json:"googleIcon"` MicrosoftIcon string `json:"microsoftIcon"` AlertIcon string `json:"alertIcon"` BlueFolderIcon string `json:"blueFolderIcon"` NarationIcon string `json:"narationIcon"` PlayIcon string `json:"playIcon"` } `json:"imagePath"` Locale string `json:"locale"` CurrentUser struct { ID int `json:"id"` DisplayName string `json:"displayName"` DisplayUserName string `json:"displayUserName"` IsAdmin bool `json:"isAdmin"` IsDistrictAdmin bool `json:"isDistrictAdmin"` SignInType any `json:"signInType"` School struct { ID int `json:"id"` Name string `json:"name"` Code string `json:"code"` } `json:"school"` } `json:"currentUser"` School struct { ID int `json:"id"` Name string `json:"name"` Timezone string `json:"timezone"` Country string `json:"country"` } `json:"school"` BackPath string `json:"backPath"` DefaultStartDate string `json:"defaultStartDate"` DefaultEndDate string `json:"defaultEndDate"` UserGroup struct { ID int `json:"id"` Name string `json:"name"` GradeString string `json:"gradeString"` CodeIsDisabled bool `json:"codeIsDisabled"` Code string `json:"code"` StartAt time.Time `json:"startAt"` FinishAt time.Time `json:"finishAt"` IsDeleted bool `json:"isDeleted"` } `json:"userGroup"` Pagination struct { CurrentPage int `json:"currentPage"` TotalPage int `json:"totalPage"` } `json:"pagination"` DisplayNamePriority string `json:"displayNamePriority"` Students []struct { ID int `json:"id"` Username string `json:"username"` SortKey string `json:"sortKey"` DisplayName string `json:"displayName"` GraduatedAt time.Time `json:"graduatedAt"` GoogleEmail string `json:"googleEmail"` AzurePreferredUsername string `json:"azurePreferredUsername"` PasswordChangeRequired bool `json:"passwordChangeRequired"` SchoolID int `json:"schoolId"` IsDeleted bool `json:"isDeleted"` } `json:"students"` StudentsTotal int `json:"studentsTotal"` CandidateUserGroups []struct { ID int `json:"id"` Name string `json:"name"` Priority string `json:"priority"` } `json:"candidateUserGroups"` }
type SchoolInfo ¶
Click to show internal directories.
Click to hide internal directories.