Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableCors ¶
func EnableCors(w *http.ResponseWriter, r *http.Request)
EnableCors: headers needed to enable cors
func GetStringInBetween ¶
GetStringInBetween: get substrinf from 2 (potentially) diffeent delimiters
Types ¶
type DBQuestion ¶
type DBQuestion struct {
ID int
Title string
Desc string
Difficulty string
Category string
Constraint string
FunctionName string
Parameters []string
Tests []DBQuestion_Test
}
func DBGetJSON ¶
func DBGetJSON(endpoint string) DBQuestion
DBGetJSON: Get's Info from DB and converts it into a DBQuestion Struct
type DBQuestion_Test ¶
Questions (Database)
type StudentExamAnswer ¶
type StudentExamAnswer_Test ¶
StudentExamAnswers
Click to show internal directories.
Click to hide internal directories.