ms-tester/internal/models/language.go

15 lines
347 B
Go
Raw Normal View History

2024-08-16 11:05:29 +00:00
package models
type Language struct {
Name string
CompileCmd []string //source: src;result:executable
RunCmd []string //source: executable
}
2024-08-25 16:16:34 +00:00
var Languages = [...]Language {
{Name : "gcc std=c90",
CompileCmd : []string{"gcc", "src","-std=c90","-o","executable"},
RunCmd : []string{"executable"}},
2024-08-16 11:05:29 +00:00
}
2024-08-25 16:16:34 +00:00