Manual.md: document go_ldflags

This commit is contained in:
Đoàn Trần Công Danh 2022-07-30 08:56:25 +07:00
parent 477241c444
commit 3aa11f5097
1 changed files with 1 additions and 0 deletions

View File

@ -1637,6 +1637,7 @@ The following template variables influence how Go packages are built:
any go.mod files, `default` to use Go's default behavior, or anything any go.mod files, `default` to use Go's default behavior, or anything
accepted by `go build -mod MODE`. Defaults to `vendor` if there's accepted by `go build -mod MODE`. Defaults to `vendor` if there's
a vendor directory, otherwise `default`. a vendor directory, otherwise `default`.
- `go_ldflags`: Arguments to pass to the linking steps of go tool.
The following environment variables influence how Go packages are built: The following environment variables influence how Go packages are built: