Skip to content

Commit 9a9d8a6

Browse files
committed
chore: set go Module detection mode to auto to disable it
1 parent 614c9a0 commit 9a9d8a6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Simple command line based HTTP file server to share local file system.
1515
## Compile
1616
Minimal required Go version is 1.9.
1717
```bash
18-
go build src/main.go
18+
GO111MODULE=auto go build src/main.go
1919
```
2020
Will generate executable file "main" in current directory.
2121

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
## 编译
1616
至少需要Go 1.9版本。
1717
```bash
18-
go build src/main.go
18+
GO111MODULE=auto go build src/main.go
1919
```
2020
会在当前目录生成"main"可执行文件。
2121

build/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
cd $(dirname "$0")
44

5+
export GO111MODULE=auto
6+
57
TMP='/tmp'
68
OUTDIR='../output'
79
MAINNAME='ghfs'

0 commit comments

Comments
 (0)