ms-tester/internal/models/language.go
Vyacheslav1557 be25404852 feat:
2024-10-13 19:01:36 +05:00

14 lines
321 B
Go

package models
type Language struct {
Name string
CompileCmd []string //source: src;result:executable
RunCmd []string //source: executable
}
var Languages = [...]Language{
{Name: "gcc std=c90",
CompileCmd: []string{"gcc", "src", "-std=c90", "-o", "executable"},
RunCmd: []string{"executable"}},
}