shared

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListAcceptedAssignments added in v0.1.9

func ListAcceptedAssignments(client api.RESTClient, assignmentID int, page int, perPage int) (classroom.AcceptedAssignmentList, error)

func ListAllAcceptedAssignments added in v0.1.9

func ListAllAcceptedAssignments(client api.RESTClient, assignmentID int, perPage int) (classroom.AcceptedAssignmentList, error)

func NumberOfAcceptedAssignmentsAndPages added in v0.1.12

func NumberOfAcceptedAssignmentsAndPages(client api.RESTClient, assignmentID int, perPage int) (numPages, totalAccepted int)

Get the total number of accepted assignments and the number of pages necessary to get them all Calculate the number of pages necessary to get all of the assignments with a given perPage

func PromptForAssignment

func PromptForAssignment(client api.RESTClient, classroomId int) (assignment classroom.Assignment, err error)

func PromptForClassroom

func PromptForClassroom(client api.RESTClient) (classroomId classroom.Classroom, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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