I agree with Holloway’s side notes and have one of my own to add.
If you aren’t already, try passing the -s and -w flags to the linker to strip debug information. That will help reduce the size.
go build -ldflags="-s -w"
I agree with Holloway’s side notes and have one of my own to add.
If you aren’t already, try passing the -s and -w flags to the linker to strip debug information. That will help reduce the size.
go build -ldflags="-s -w"