Lint fixes

This commit is contained in:
Paul Tötterman
2020-10-19 13:40:52 +03:00
parent 3cec19ee62
commit 3d924a016b
65 changed files with 884 additions and 1083 deletions

View File

@@ -1,15 +1,15 @@
package utils
import (
"bytes"
"go/build"
"os"
"os/exec"
"strings"
"bytes"
"path/filepath"
"strings"
)
// Initialize the command based on the GO environment
// Initialize the command based on the GO environment.
func CmdInit(c *exec.Cmd, addGoPath bool, basePath string) {
c.Dir = basePath
// Dep does not like paths that are not real, convert all paths in go to real paths
@@ -33,4 +33,4 @@ func CmdInit(c *exec.Cmd, addGoPath bool, basePath string) {
}
c.Env = append(c.Env, e)
}
}
}