Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LanguageNotSupported = newError(4002, "Language not supported") PayloadNotValid = newError(4003, "Payload not valid") TooMuchOutPutErr = newError(4005, "Too much output") TimeOutErr = newError(4006, "Time out") RunCodeErr = newError(5001, "Run code error") )
View Source
var VersionMap = map[string][]string{
"bash": {"4.4"},
"c": {
"gcc10",
},
"cpp": {
"gcc10",
},
"go": {"1.18"},
"haskell": {
"ghc-8.6",
},
"python": {
"3.7",
"2.7",
},
"php": {
"7.4",
},
"java": {
"14",
},
"perl": {"5.28"},
"perl6": {"latest"},
"ruby": {"2.7"},
"rust": {"latest"},
}
VersionMap stands for all languages and versions
Functions ¶
func AllRunners ¶
AllRunners return all supported languages and their versions
func LVIsSupported ¶
LVIsSupported check if the version of a language is supported
func LanIsSupported ¶
LanIsSupported check if the language is supported
func VersionsOfOne ¶
VersionsOfOne return all version of one language
Types ¶
Click to show internal directories.
Click to hide internal directories.