mirror of
https://github.com/eeeXun/GTT.git
synced 2025-05-16 15:50:52 -07:00
docs: add ldflags in go install
This commit is contained in:
parent
4b9776b4d9
commit
1d0f75ece3
@ -57,7 +57,7 @@ Binary file is available in [Release Page](https://github.com/eeeXun/gtt/release
|
|||||||
#### go install
|
#### go install
|
||||||
|
|
||||||
```sh
|
```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`
|
And make sure `$HOME/go/bin` is in your `$PATH`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user