constants

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VIEW_OVERALL_GRADES = "View Overall Grades"
	SELECT_CLASS        = "Select a Class"
	ADD_CLASS           = "Add a Class"
	EDIT_CLASS          = "Edit a Class"
	DELETE_CLASS        = "Delete a Class"
	VIEW_ASSIGNMENTS    = "View Assignments"
	ADD_ASSIGNMENT      = "Add Assignment"
	EDIT_ASSIGNMENT     = "Edit Assignment"
	DELETE_ASSIGNMENT   = "Delete Assignment"
	GO_BACK             = "Go Back"
	MAIN_MENU           = "Main Menu"
	QUIT                = "Quit"
)
View Source
const (
	CHOOSE_AN_OPTION         = "Choose an option"
	ENTER_ASSIGNMENT_NAME    = "Enter assignment name"
	CHOOSE_ASSIGNMENT_TYPE   = "Choose an assignment type"
	ENTER_TOTAL_POINTS       = "Enter the total amount of points possible"
	ENTER_CORRECT_POINTS     = "Enter the total amount of points you got correct"
	SELECT_ASSIGNMENT_EDIT   = "Select an assignment to edit"
	SELECT_ASSIGNMENT_DELETE = "Select an assignment to delete"
	CHOOSE_OPTION_EDIT       = "Choose an option to edit"
	ENTER_CLASS_NAME         = "Enter class name"
	ENTER_SUBJECT            = "Enter Subject (e.g. Math)"
	SELECT_CLASS_EDIT        = "Select a class to edit"
	SELECT_CLASS_DELETE      = "Select a class to delete"
	ENTER_TEST_WEIGHT        = "Enter test weight"
	ENTER_QUIZ_WEIGHT        = "Enter quiz weight"
	ENTER_HOMEWORK_WEIGHT    = "Enter homework weight"
)

Variables

View Source
var (
	INIT_MAX_CLASS_COLUMN_LENGTH      = 20
	INIT_MAX_ASSIGNMENT_COLUMN_LENGTH = 20
	INIT_MAX_GRADE_COLUMN_LENGTH      = 5
	INIT_MAX_TYPE_COLUMN_LENGTH       = 5
	HORIZONTAL_BORDER_CHAR            = "═"
	VERTICAL_BORDER_CHAR              = "║"
	TOP_LEFT_CHAR                     = "╔"
	TOP_RIGHT_CHAR                    = "╗"
	BOTTOM_LEFT_CHAR                  = "╚"
	BOTTOM_RIGHT_CHAR                 = "╝"
	VERTICAL_RIGHT_CHAR               = "╠"
	VERTICAL_LEFT_CHAR                = "╣"
	HORIZONTAL_TOP_CHAR               = "╦"
	HORIZONTAL_BOTTOM_CHAR            = "╩"
	CROSS_CHAR                        = "╬"
	WHITE_SPACE                       = " "
)

not constant for tests :)

View Source
var (
	EDIT_CLASS_OPTS      = []string{"Name", "Grade Weights"}
	EDIT_ASSIGNMENT_OPTS = []string{"Name", "Grade", "Type"}
	ASSIGNMENT_TYPES     = []string{"Test", "Quiz", "Homework"}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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