feat: move languages to submodule;fix:storage:replace postgres query with array query when getting language
This commit is contained in:
parent
02a7a49ac3
commit
b7147a2c19
6 changed files with 14 additions and 25 deletions
|
@ -1,13 +0,0 @@
|
|||
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"}},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue