Skip to content

Commit

Permalink
simplify GOPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed Apr 17, 2019
1 parent dc3a2f5 commit 2f32b9f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ import (
)

func main() {
gopath := os.Getenv("GOPATH")
if len(gopath) == 0 {
gopath = gobuild.Default.GOPATH
}
gopath := gobuild.Default.GOPATH

wd, err := os.Getwd()
if err != nil {
Expand Down

0 comments on commit 2f32b9f

Please sign in to comment.