Skip to content

Commit

Permalink
auto enable go module
Browse files Browse the repository at this point in the history
  • Loading branch information
oiooj committed Nov 7, 2019
1 parent c32cef2 commit 5b72060
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ func init() {
os.Setenv("GOPRIVATE", excludeHost)
}

// Enable Go module
os.Setenv("GO111MODULE", "on")

downloadRoot = getDownloadRoot()
}

Expand Down

0 comments on commit 5b72060

Please sign in to comment.