summaryrefslogtreecommitdiff
path: root/listWindow.go
diff options
context:
space:
mode:
Diffstat (limited to 'listWindow.go')
-rw-r--r--listWindow.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/listWindow.go b/listWindow.go
index bc2f5d9..876aab0 100644
--- a/listWindow.go
+++ b/listWindow.go
@@ -29,13 +29,13 @@ type section struct {
name string
hidden bool
- parent *gui.Node
- box *gui.Node
- group *gui.Node
- grid *gui.Node // where the repos are listed
- hideCB *gui.Node
+ parent *gui.Node
+ box *gui.Node
+ group *gui.Node
+ grid *gui.Node // where the repos are listed
+ hideCB *gui.Node
downloadAllB *gui.Node
- witRepos []*witRepo
+ witRepos []*witRepo
}
func listWindow() {
@@ -91,13 +91,13 @@ func downloadRepo(path string) bool {
os.Setenv("GO111MODULE", "off")
goSrcDir := me.goSrcPwd.String()
- if ! quickCmd(goSrcDir, []string{"go", "get", "-v", path}) {
+ if !quickCmd(goSrcDir, []string{"go", "get", "-v", path}) {
log.Info("go get failed")
return false
}
fullpath := filepath.Join(goSrcDir, path)
- if ! quickCmd(fullpath, []string{"go", "get", "-v", "-u", "."}) {
+ if !quickCmd(fullpath, []string{"go", "get", "-v", "-u", "."}) {
log.Info("go get depends failed")
return false
}