removed errors import

This commit is contained in:
alessio 2016-08-21 15:37:30 +02:00
parent 27f90a1db0
commit a5eb8b0251
1 changed files with 1 additions and 2 deletions

View File

@ -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