From 3aa11f509767c1fcc5459b6b28d856bbfcc4c309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Jul 2022 08:56:25 +0700 Subject: [PATCH] Manual.md: document go_ldflags --- Manual.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Manual.md b/Manual.md index 0f16aeb3875..9be0b9fb556 100644 --- a/Manual.md +++ b/Manual.md @@ -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 accepted by `go build -mod MODE`. Defaults to `vendor` if there's 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: