You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Customize -ldflags
For example, fyne-cross darwin -arch=arm64,amd64 -app-id com.test.test -ldflags="-X main.GoVersion=1.21.1", this usage,
I need this in my App development.
The native compilation method of golang is go build -o build_path/build_name -trimpath -ldflags "-X main.GoVersion=1.21.1" main.go
There are many custom parameters for custom -X ...
The text was updated successfully, but these errors were encountered:
Customize
-ldflags
For example,
fyne-cross darwin -arch=arm64,amd64 -app-id com.test.test -ldflags="-X main.GoVersion=1.21.1"
, this usage,I need this in my App development.
The native compilation method of golang is
go build -o build_path/build_name -trimpath -ldflags "-X main.GoVersion=1.21.1" main.go
There are many custom parameters for custom
-X ...
The text was updated successfully, but these errors were encountered: