Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ #1

Open
ycrao opened this issue Dec 25, 2020 · 1 comment
Open

FAQ #1

ycrao opened this issue Dec 25, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@ycrao
Copy link
Owner

ycrao commented Dec 25, 2020

1. How do you set the application icon in golang ?

using Resource Hacker™ maybe the best way.

@ycrao ycrao added the documentation Improvements or additions to documentation label Dec 25, 2020
@ycrao
Copy link
Owner Author

ycrao commented Dec 25, 2020

2. How to make golang compiled binary file more small ?

# add -ldflags -s -w
go build -ldflags "-s -w"
# using upx
upx -9 target.bin.exe 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant