print

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignmentPrinter

type AssignmentPrinter struct {
	io.Writer
	*sync.WaitGroup

	Table    *tablewriter.Table
	Now      time.Time
	Location *time.Location
	All      bool
	// contains filtered or unexported fields
}

AssignmentPrinter prints assignments in a concurrency safe way.

func (*AssignmentPrinter) PrintCourseAssignments

func (p *AssignmentPrinter) PrintCourseAssignments(course *canvas.Course)

PrintCourseAssignments prints all the assignments for one course.

type DueDate

type DueDate struct {
	Id, Name string
	Date     time.Time
}

type DueDates

type DueDates []DueDate

func (DueDates) Len

func (dd DueDates) Len() int

func (DueDates) Less

func (dd DueDates) Less(i, j int) bool

func (DueDates) Swap

func (dd DueDates) Swap(i, j int)

Jump to

Keyboard shortcuts

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