v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-15 23:30:27 -07:00

docs: add ldflags in go install

This commit is contained in:
eeeXun 2023-08-13 12:04:24 +08:00
parent 4b9776b4d9
commit 1d0f75ece3

View File

@ -57,7 +57,7 @@ Binary file is available in [Release Page](https://github.com/eeeXun/gtt/release
#### go install
```sh
go install github.com/eeeXun/gtt@latest
go install -ldflags="-s -w" github.com/eeeXun/gtt@latest
```
And make sure `$HOME/go/bin` is in your `$PATH`