浏览代码

Update README.md

Maddie Zhan 5 年之前
父节点
当前提交
321ab6a251
共有 1 个文件被更改,包括 12 次插入2 次删除
  1. 12 2
      README.md

+ 12 - 2
README.md

@@ -33,14 +33,24 @@ Works with mobile versions too.
 
 ## Installation
 
-You need Go 1.13+ to compile the binary.
+You need Go 1.13+ to compile the binary. If you have an older version of Go and don't want to install the tarball
+manually, you can install newer version of Go into your GOPATH:
+
+0. Install Go 1.14
+
+   ```
+   $ go get golang.org/dl/go1.14.2
+   # Assuming your GOPATH is default (~/go), Go 1.14.2 will be installed in ~/go/bin
+   $ ~/go/bin/go1.14.2 version
+   go version go1.14.2 linux/amd64
+   ```
 
 1. Clone this repository:
 
     ```
     $ git clone github.com/librespeed/speedtest
     # Switch to the Go branch
-    $ git checkout -b go
+    $ git checkout go
     ```
 
 2. Build