instantTest

package
v0.0.0-...-48c1272 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateScore

func CalculateScore(question models.Question, code, language string) (int, []models.VerifiedTestCase, []models.VerifiedTestCase, error)

This function calculates the score for a question returns the score, test cases passed, test cases failed and error if any

func ChangeActive

func ChangeActive(c *gin.Context)

func CreateTest

func CreateTest(c *gin.Context)

func GetInstantTest

func GetInstantTest(c *gin.Context)

func GetSubmissions

func GetSubmissions(c *gin.Context)

func Submit

func Submit(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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