v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-28 05:20:12 -07:00

docs: add go build

This commit is contained in:
eeeXun 2023-05-13 10:46:02 +08:00
parent 035d01db2b
commit 4e61f852a2

View File

@ -52,6 +52,12 @@ Binary file is available in [Release Page](https://github.com/eeeXun/gtt/release
go install github.com/eeeXun/gtt@latest
```
or
```
git clone https://github.com/eeeXun/gtt.git && cd gtt && go build -ldflags="-s -w -X main.version=$(git describe --tags)"
```
### Run on Docker
```