Merge pull request #274503 from lopter/patch-1

Golang docs: remove "-s" and "-w" from the ldflags example
This commit is contained in:
Wael Nasreddine 2023-12-21 21:04:02 -08:00 committed by GitHub
commit 1bf9271a09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,6 @@ Arguments to pass to the Go linker tool via the `-ldflags` argument of `go build
```nix
ldflags = [
"-s" "-w"
"-X main.Version=${version}"
"-X main.Commit=${version}"
];