Skip to content
Snippets Groups Projects
Commit b077a8d0 authored by Ammar Ahmed's avatar Ammar Ahmed :speech_balloon:
Browse files

use compiler without goimports

parent 2a976f1c
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ func (gb *GoCompiler) CheckCompileErrors(srcCode []byte, _ ...string) ([]byte, e
}
// Init go mod, tidy (for dependencies) and goimports (for imports)
cmdString := "go mod init tempOutput && go mod tidy && goimports -w ."
cmdString := "go mod init tempOutput && go mod tidy "
// Run go build
cmdString += " && go build -o main " + fileName
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment