removed errors import
This commit is contained in:
parent
27f90a1db0
commit
a5eb8b0251
|
@ -9,7 +9,6 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
"errors"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// The Project struct defines the informations about a project
|
// The Project struct defines the informations about a project
|
||||||
|
@ -96,7 +95,7 @@ func (p *Project) GoInstall() error {
|
||||||
var out bytes.Buffer
|
var out bytes.Buffer
|
||||||
base, _ := os.Getwd()
|
base, _ := os.Getwd()
|
||||||
path := base + p.Path
|
path := base + p.Path
|
||||||
|
|
||||||
err := os.Setenv("GOBIN",slash(os.Getenv("GOPATH")) + slash("bin"))
|
err := os.Setenv("GOBIN",slash(os.Getenv("GOPATH")) + slash("bin"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue