Skip to content

Commit

Permalink
add default env
Browse files Browse the repository at this point in the history
  • Loading branch information
oiooj committed Feb 17, 2020
1 parent 0e2b515 commit fa12c6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ func init() {

// Enable Go module
os.Setenv("GO111MODULE", "on")
os.Setenv("GOPROXY", "direct")
os.Setenv("GOSUMDB", "off")

downloadRoot = getDownloadRoot()
}
Expand Down

0 comments on commit fa12c6b

Please sign in to comment.