From 11ccb98a1e088bdc72285c02aa6c3d46b8840018 Mon Sep 17 00:00:00 2001 From: Aleksander Einarsen <aleksace@stud.ntnu.no> Date: Thu, 10 Oct 2024 12:18:04 +0200 Subject: [PATCH] Removed dependency parameter --- modules/compiler/go-compiler/go_compiler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/compiler/go-compiler/go_compiler.go b/modules/compiler/go-compiler/go_compiler.go index 595dc48..39cf2f1 100644 --- a/modules/compiler/go-compiler/go_compiler.go +++ b/modules/compiler/go-compiler/go_compiler.go @@ -9,7 +9,7 @@ import ( // // CompileStringToGo tries to compile a string of go code to a go executable, and returns the compiler output and an error. // The function does not produce any executables, since they are deleted after the function ends. -func CompileStringToGo(code string, filename string, _ ...string) (string, error) { +func CompileStringToGo(code string, filename string) (string, error) { // Get the platform OS := runtime.GOOS -- GitLab